OPEN-SOURCE SCRIPT

HLC Bollinger Bands

This is just a Bollinger band indicator that uses the highs & lows in addition to the close in the calculation of volatility / deviations from average. These bands will be slightly wider than regular Bollingers as a result.

I've found it useful with very short lookback lengths (3 to 5) for identifying periods when the bands are contracted... usually leads to an expansion of volatilty, so good for scalps.

Enjoy.
Bollinger Bands (BB)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer