marsever

Bollinger Bandwidth

The 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.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?