OPEN-SOURCE SCRIPT

Bollinger Bands 3STD

167
Multi-band Bollinger overlay that plots ±1, ±2, and ±3 standard deviation bands on one chart.

What it shows

Three white band pairs (±1σ, ±2σ, ±3σ) around a shared moving-average basis (basis line is not plotted)
Soft corridor fills between 1σ→2σ and 2σ→3σ so the outer zones are easy to see without clutter
Markers when price closes outside the ±2σ bands (not wick touches)
How it works
Bands are built from a selectable basis MA (SMA, EMA, RMA, or WMA) plus standard deviation of the chosen source. Defaults match classic Bollinger settings: length 20, multipliers 1 / 2 / 3.

Alerts
Use TradingView alerts on this script:

Close above 2σ
Close below 2σ
Any 2σ close outside
Tip: set the alert to Once Per Bar Close.

Inputs

Length, source, basis MA type
StdDev multipliers (1 / 2 / 3)
Corridor fill colors
Toggle for 2σ close-outside markers
Notes
This is a volatility / stretch visualization tool, not a buy/sell signal system. Use it with your own confirmation (trend, RSI, levels, etc.).

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.