OPEN-SOURCE SCRIPT

Bollinger Band Squeeze

The Bollinger Band Squeeze is calculated according to the ATR. With the default settings. If the BB width is smaller than the ATR * 2 the background is painted green. If the BB width is larger than the ATR * 5 the background is painted red
Average True Range (ATR)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