Definition
Bollinger Bands are a volatility indicator made of a middle band, usually a 20-period moving average, and an upper and a lower band set two standard deviations above and below it.
How it works
Middle band = 20-day simple moving average. Upper band = middle band + 2 × the standard deviation of the same 20 closing prices. Lower band = middle band − 2 × that standard deviation. John Bollinger developed the bands, and 20 periods with 2 standard deviations are common defaults and not fixed rules. The bands are drawn on the price chart, so price usually moves inside a channel around the average.
Because the bands are built on standard deviation, they widen when price swings grow and contract when swings shrink. A narrow band means recent volatility has been low, and a wide band means it has been high. The bands therefore adapt to changing market conditions as price swings change. A period of narrow bands is often called a squeeze, and the narrowing says nothing about which direction price will move next.
StockCharts, citing Bollinger, says that moves above or below the bands are not signals by themselves. Price can stay near the upper band for a long time in a strong uptrend, and a touch of the lower band does not mean a rebound is due. Chart readers combine the bands with other indicators and price patterns, and the results change with the settings.
Example (hypothetical numbers)
To keep the arithmetic short, use a 5-period average instead of 20. Suppose the last five closes are 20, 22, 21, 23 and 24.
Middle band = (20 + 22 + 21 + 23 + 24) ÷ 5 = 22.00. The squared deviations from 22 are 4, 0, 1, 1 and 4, so the variance is 10 ÷ 5 = 2 and the standard deviation is √2 ≈ 1.4142.
Upper band = 22.00 + 2 × 1.4142 ≈ 24.83 and lower band = 22.00 − 2 × 1.4142 ≈ 19.17. The latest close of 24 is inside the bands.
If the standard deviation doubled to 2.83 with the same average, the bands would be 22.00 ± 5.66, or 16.34 to 27.66: wider bands for higher volatility.
Common mistakes
- Treating a touch of the upper or lower band as an automatic sell or buy signal.
- Reading narrow bands as a prediction of the direction of the next move.
- Applying the 20-period, 2-standard-deviation defaults to every market without checking that they suit the data.
This glossary is for education only and is not investment advice. Examples use hypothetical numbers.