Bollinger Bands (John Bollinger, 1980s) wrap a 20 SMA, the middle band, with two bands placed ± 2 standard deviations of closes away. They widen when volatility rises and tighten when it falls.
Example: 20 SMA = 100 and standard deviation = 2.5 → upper band 105, lower band 95. Bandwidth (upper − lower) / middle = 10 / 100 = 10%. %B = (price − lower) / (upper − lower): at 96, %B = 1 / 10 = 0.1.
Reading the bands: price moves inside a channel around the 20 SMA. Mean-reversion plan: buy a close below the lower band, target the middle band, put a stop below the recent low and size the trade from that stop. If price rides the lower band bar after bar, that is a trend: stay out.
Trap: ± 2 standard deviations does not mean “inside the bands 95% of the time”. Returns have fat tails and, in a strong trend, price can ride a band for weeks. A tightening (squeeze) often precedes a larger move, without telling you its direction.
Examples
BAND-X (fictional market) : The channel is the 20 SMA wrapped by two bands at 2 standard deviations. Picture a middle band at 50 and a standard deviation of 1.5: bands at 47 and 53. A close at 46.5 below the lower band triggers a buy; the exit targets the middle band, about +7.5% if it has not moved.
March 2020: the bands blow out : During the Covid crash, volatility soared: the VIX closed above 80 on 16 March 2020. The bands widened abruptly and indices rode the lower band for weeks. A rule of “buy below the lower band” with no stop would have bought again and again during the fall. Lesson: a mean-reversion signal needs a stop and an exposure cap.
Key terms
Middle band
Simple moving average over 20 bars at the center of the channel
Devfactor
Number of standard deviations between the middle and each band (2 by default)
%B
Price position within the bands: 0 on the lower band, 1 on the upper band
Squeeze
Sharp tightening of the bands, a sign of low recent volatility