Bollinger Bands T3/SMA/EMAModify the collor of the scandlestick to the trend using as core the Bollinger
在腳本中搜尋"弘历投教boll指标代码分析"
Bollinger Bands Width Expansion IdentifierFind out if the Bollinger Band Width has rapidly expanded compared to the N number of previous periods.
I've written a function: 'bbw_expansion' that performs this check so that it can be incorporated in other projects of mine.
Example: bbw_expansion(bbw, 5, 1.2) will return 'true' if 'bbw' is 20% greater (or more) compared to the last 5 bbw periods.
The function returns: 'true' or 'false'
Bollinger HistogramIn the same way that I make the donchian histogram , we can make a histogram for bollinger
above zero =buy , green color
bellow zero =sell. red color
try to play with setting to get optimal results
Bollinger MTFSo this is a Bollinger resistance and support map, I just convert it to v4 and add info for current upper and lower levels
The length is 60 (instead of regular 20) and we make it to be MTF
Ok , so how this system work
we choose TF and I normaly use 3x or 4X of the MTF (you can choose your own)
then we need to decide if we want to long or short
if we go long then the buy point will be the lower value and TP will be TP in green -
If we go short then our entry value will be upper and TP (take profit) will be in red
so one can put few tweeks and make this system to be more automatic , but I just show this as a easy concept for trade system
the main issue in such system is properly to decide when to go short or when to go long
that why you need to add other indicators in order to make this call and make this system effective
Bollinger BandwidthThe bandwidth is the difference (gap) between the upper band and the lower band.
This Bandwidth indicator takes the current Width of the Bollinger Bands and compares it to the Maximum and Minimum Width of the Bands over N periods
If the calculated percentage is less than or equal to X Percent (which we will specify), then the histogram shows yellow. If the calculated percentage is greater than the X Percent, then the histogram shows Red.
This works out well to quickly see if the currency pair is ranging (Yellow) and if it has broken out of range (Red)
To have a valid trade, the bandwidth indicator must be Yellow which means prices are contained within a tight range. This give us the opportunity to be able to trade inside the band picking top and bottom of the range with the help of the Stochastic indicator.
Noro's Bollinger Strategy v1.3Bollinger Bands
Pyramiding!!!
For:
- any crypto
- timeframe: 1min, 3min, 5min, 15min, 30min, 1h
Noro's Bollinger Strategy v1.2Bollinger Bands
Pyramiding!!!
For:
- any crypto
- timeframe: 1min, 3min, 5min, 15min, 30min, 1h
Noro's Bollinger Strategy v1.1Bollinger Bands
Pyramiding!!!
For:
- any crypto
- timeframe: 1min, 3min, 5min, 15min, 30min, 1h
Noro's Bollinger Strategy v1.0Bollinger Bands only
Piramiding!!!
For:
- any crypto
- timeframe: 1min, 3min, 5min, 15min, 30min, 1h, 2h
Bollinger Band with Touch Alerts and Disappear on Low TimeframesModified Bollinger Band with Touch Alerts and Disappear on Low Timeframes
Bollinger Bands PlusI wondered what Bollinger Bands would look like based on a Hull Moving Average compared to that of a Simple Moving Average.
This script allows you to turn on and off SMA and HMA based bands.
This is my way of learning Pine script, I hope it is of use to someone :-)
Bollinger Bands %RSIHi All,
I am not a programmer, but I tried to buid BB% of RSI , base of John Bollinger' book. I cut and paste the function from LazyBear MFI/RSI BB indicator and original BB% scripts. Now, I need help for 2 things :
1. I already check by side with LazyBear indicator for the OB/OS, and all are good. One thing I don't understand is why we build the Basis for bb using "sma" ? any one can help me to understand with this?
2. I am happy with this, but I need to make the Source Price become customisable (close, hl/2, hlc/3, etc). and I don't know how to set it up. please help me with this.
Thank you.
Best scalping toolExplanation:
This script is a comprehensive indicator that combines three essential technical analysis tools: Money Flow Index (MFI), Relative Strength Index (RSI), and Bollinger Bands (Bollinger %B). It provides insights into market conditions related to cross points of mfi,rsi and B%B.
A buy condition is created when the last candle RSI and MFI are under the bollinger bands, and then in the actual candle the RSI cross up the bollinger low band.
A sell condition is created when the last candle RSI and MFI are above the bollinger bands, and then in the actual candle the RSI cross down the bollinger high band.
Key Components:
MFI (Money Flow Index):
Utilizes the MFI indicator based on a specified length.
Overbought and oversold levels (80 and 20, respectively).
RSI (Relative Strength Index): (Adapted to the mfi chart)
Allows selection of different moving average types (SMA, EMA, etc.) for the RSI calculation.
RSI along with upper and lower bands (70 and 30).
Bollinger Bands:
Provides upper and lower Bollinger Bands based on the RSI's standard deviation.
Visualization Options:
Allows the user to choose between show the buy (green arrow) and the sell (red arrow) .
How It Works:
The indicator amalgamates these three powerful technical indicators to help traders identify potential entry or exit points. The green arrow its a buy signal and the red arrow is a sell signal.
By offering configurable settings and clear visual cues, this indicator assists traders in recognizing critical market conditions and potential trading opportunities.
Disclaimer: This indicator should be used as a tool in a broader trading strategy and not solely for making trading decisions. It's recommended to combine it with other technical or fundamental analysis for comprehensive trading decisions.
K's Volatility BandsVolatility bands come in all shapes and forms contrary to what is believed. Bollinger bands remain the principal indicator in the volatility bands family. K's Volatility bands is an attempt at optimizing the original bands. Below is the method of calculation:
* We must first start by calculating a rolling measure based on the average between the highest high and the lowest low in the last specified lookback window. This will give us a type of moving average that tracks the market price. The specificity here is that when the market does not make higher highs nor lower lows, the line will be flat. A flat line can also be thought of as a magnet of the price as the ranging property could hint to a further sideways movement.
* The K’s volatility bands assume the worst with volatility and thus will take the maximum volatility for a given lookback period. Unlike the Bollinger bands which will take the latest volatility calculation every single step of time, K’s volatility bands will suppose that we must be protected by the maximum of volatility for that period which will give us from time to time stable support and resistance levels.
Therefore, the difference between the Bollinger bands and K's volatility bands are as follows:
* Bollinger Bands' formula calculates a simple moving average on the closing prices while K's volatility bands' formula calculates the average of the highest highs and the lowest lows.
* Bollinger Bands' formula calculates a simple standard deviation on the closing prices while K's volatility bands' formula calculates the highest standard deviation for the lookback period.
Applying the bands is similar to applying any other volatility bands. We can list the typical strategies below:
* The range play strategy : This is the usual reversal strategy where we buy whenever the price hits the lower band and sell short whenever it hits the upper band.
* The band re-entry strategy : This strategy awaits the confirmation that the price has recognized the band and has shaped a reaction around it and has reintegrated the whole envelope. It may be slightly lagging in nature but it may filter out bad trades.
* Following the trend strategy : This is a controversial strategy that is the opposite of the first one. It assumes that whenever the upper band is surpassed, a buy signal is generated and whenever the lower band is broken, a sell signal is generated.
* Combination with other indicators : The bands can be combined with other technical indicators such as the RSI in order to have more confirmation. This is however no guarantee that the signals will improve in quality.
* Specific strategy on K’s volatility bands : This one is similar to the first range play strategy but it adds the extra filter where the trade has a higher conviction if the median line is flat. The reason for this is that a flat line means that no higher highs nor lower lows have been made and therefore, we may be in a sideways market which is a fertile ground for mean-reversion strategies.
RSI + BB (EMA) + Dispersion (2.0)First version here
Initial data:
1) RSI
2) Bollinger Bands (Basis - EMA )
3) Dispersion (around basis)
Signal for purchase: RSI crosses the dispersion zone upwards
Signal for sale: RSI crosses the dispersion zone downwards
Buffer zone: white area, it is not recommended to make transactions.
--- Add ( 02.10.2018 )
1) RSI lines (overbought / oversold) = 70 / 30. Сan be changed in the settings.
2) Alerts:
• RSI line crossover Dispersion Zone (green)
• RSI line crossunder Dispersion Zone (red)
double Bollinger BandsThe Double Bollinger Band consists of an average and two Bollingers and two backgrounds, each of which has separate settings and can be approved more strongly for trades. Moves and vice versa. With the price chart coming out of the second band, the price is much more likely to move in the same direction.
To use this feature, we had to use two Bollinger indicators with different settings at the same time, but we no longer need to do this with the Double Bollinger.
Its main use is crypto, but it can be used in all markets
Zero Lag MTF Moving Average by CoffeeshopCryptoBased on Moving Average Types supplied by @TradingView www.tradingview.com
Ideas and code enhanced to show higher timeframe by @CoffeeShopCrypto
It’s time to take the guesswork out of moving averages and multiple timeframes when day trading. Moving averages are a cornerstone of many trading strategies, often viewed as dynamic support and resistance levels. Traders rely on these levels to anticipate price reactions, whether it’s a bounce in a trending market or a reversal in a ranging one. Additionally, the direction and alignment of multi timeframe moving averages—whether they’re moving in the same direction or diverging—provide critical clues about market momentum and potential reversals. However, the traditional higher timeframe moving average indicators force traders to wait for higher timeframe candles to close, creating lag and missed opportunities.
The Old Way
For example: If you are on a 5 minute chart and you want to observe the location and direction of a 30 minute chart Moving Average, you'll need to wait for a total of 6 candles to close, and again every 6 candles after that. This only creates more lag.
The New Way
Now there is no waiting for high timeframe session candles to close. No matter what timeframe Moving Average you want to know about, this indicator will show you its location on your current chart at any time in real time.
For those who prefer Bollinger Bands, this indicator adds a whole new dimension to your strategy. Traders often wait for price action to break outside the lower time frame Bollinger bands before considering a trade, while still seeking key support or resistance levels beyond them. But if you don't know the position of your higher time frame Bollinger, you could be trading into a trap. With Zero Lag Multi Timeframe Moving Average, you can view both your current and higher timeframe Bollinger Bands simultaneously with zero waiting. This lets you instantly see when price action is traveling between the bands of either timeframe or breaking through both—indicating a strong trend in that direction. Additionally, when both sets of Bollinger Bands overlap at the same price levels, it highlights areas of strong consolidation and ranging conditions, giving you a clear picture of market dynamics. This is a key element in price action that tells you there is currently no direction to the market and both the current and higher time frames are flat.
Enter Zero Lag Multi Timeframe Moving Average—the ultimate tool for real-time higher timeframe moving averages and Bollinger Bands. This innovative indicator eliminates the delay, delivering instant, precise values for higher timeframe averages and bands, even on open candles. Seamlessly combining current and higher timeframe data, it allows traders to identify key moments where moving averages or Bollinger Bands align or diverge, signaling market conditions. Whether you’re gauging the strength of a trend, pinpointing potential reversals, or identifying consolidation zones, Zero Lag Multi Timeframe Moving Average gives you the clarity needed to make better trading decisions according to market conditions.
Why is this "Mashup" of moving averages different and important?
Honestly its really about the calculation thats imported through the "import library" function.
Heres what it does:
The ZLMTF-MA is designed to help traders easily see where higher timeframe moving averages and Bollinger Bands are—without needing to switch chart timeframes or wait for those larger candles to close. It works by adjusting common moving average types like SMA, EMA, and VWMA to show what they would look like if they were based on a higher timeframe, right on your current chart. This helps users stay focused on their main timeframe while still having a clear view of the bigger picture, making it easier to spot trend direction, key support and resistance levels, and overall market structure. The goal is to keep things simple, fast, and more visually informative for everyday traders.
Bollinger Bands
When working with Bollinger Bands, a common strategy is to take the trades once price action has escaped through the top or bottom of your current Bollinger Band.
A false breakout occurs when both Bollinger Bands are not moving in the same direction as eachother or when they are overlapping.
Moving Averages as Support and Resistance:
Traders who use Moving Averages as support or resistance, looking for rejections or failures of these areas can now see multiple timeframe price action instantly and simultaneously.
Trading Setup Examples:
Price Action Scenario 1:
Higher Timeframe Ranging-
When price action breaks through a current moving average headed toward a higher timeframe moving average, trades are taken with caution if the moving averages are converging.
Price Action Scenario 2:
Strong Trending Market -
If the moving averages are in the same direction, and your price action is now leading the low timeframe moving average, you have re-entered a strong trend.
Price Action Scenario 3:
High Timeframe Rejections -
If you have a rejection of a higher timeframe moving average, and your both averages are still diverging, this is the end of a pullback as you re-enter a strong trend in the original direction
Price Action Scenario 4:
Trend Reversals -
If you close beyond both the low and high timeframe moving averages, you can consider that price action is strong enough to change direction here and you should prepare for trade setups in the opposite direction of the previous.
HTF MA Label Information:
Even if your high timeframe moving average is turned off, you can still see this label.
It gives you a quick reminder of what high timeframe settings you have used to see MA values.