PROTECTED SOURCE SCRIPT

Bollinger Bands SM

8
This script plots four custom Bollinger Band envelopes on price to map volatility, trend and extremes on a single chart.

What it shows

BB Set 1 – 50-length, 1.25σ (cyan/red)
Short–to–medium-term volatility channel. Good for spotting squeezes, early breakouts and pullbacks in the active trend.

BB Set 2 – 200-length, 1.25σ (lime/yellow)
Higher-timeframe “trend envelope”. When price rides the upper band the trend is strong; closes below the lower band often signal deeper corrections.

BB Set 3 – 14-length, 3.2σ (white/blue, green fill)
Fast, very wide band for short-term volatility spikes. Tags of these outer bands highlight overextended moves that often mean-revert.

BB Set 4 – 200-length, 5σ (white/red, purple fill)
Extreme long-term volatility boundary. Price reaching this zone is rare and can mark exhaustion, blow-off moves or panic washes.

How I use it

Look for squeezes where bands contract tightly before large moves.

Watch for confluence when multiple bands line up as support/resistance.

Treat outer band touches as risk zones, not automatic reversal signals – wait for confirmation from structure or your own system.

This is a visual tool to understand volatility and trend context, not a standalone buy/sell system and not financial advice.

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.