OPEN-SOURCE SCRIPT

Bollinger Squeeze Indicator

120
This indicator is designed to visually capture periods of low volatility, known as "squeezes." It integrates fully customizable Bollinger Bands and Keltner Channels computations to detect when the Bollinger Bands are completely within the Keltner Channels—signaling a potential breakout. When a squeeze is detected, a dot is plotted at level 0 in green (or a user-defined squeeze color), while non-squeeze periods appear in gray (or a user-selected alternative). Users can adjust key parameters including the period, standard deviation multiplier, moving average type, and even the dot size and colors, making it a versatile tool for identifying shifts in market momentum.

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.