What are Bollinger Bands?
Bollinger Bands wrap price in an envelope that widens and narrows with volatility.
The middle line is a 20-bar simple moving average; the upper and lower bands sit 2 standard deviations above and below it. Our deviation is the population form (dividing by N, not N − 1), measured on the same 20 bars and the same source, the close by default. All three lines draw on the price pane.
How are Bollinger Bands calculated?
MID = SMA(P, 20), UP = MID + 2 × σ, DN = MID − 2 × σ, σ = √(Σ (P − MID)² / 20)
The terms in the formula
- P
- Source value (the close by default).
- MID
- Simple moving average over 20 bars (the length input).
- σ
- Population standard deviation of P over the same 20 bars.
- 2
- The standard-deviation multiplier.
How do you read Bollinger Bands?
- Narrow bands (a squeeze) describe a quiet period; such periods are often followed by a larger move, in either direction.
- Price walking along the upper band is a sign of a strong uptrend rather than automatically an overbought reading; the mirror holds for the lower band.
- A close outside a band shows a move larger than recent volatility would suggest.
- In ranges price tends to travel between the bands, with the middle line acting as the average to which it returns.
What are the limits of Bollinger Bands?
- The bands follow volatility, not direction: touching a band is not by itself a reversal or continuation.
- Prices are not normally distributed, so closes outside 2σ happen more often than the textbook 5%.
- After a big shock the bands stay wide for 20 bars, then snap in when the shock leaves the window.
- The middle line is an SMA and lags like one.
Where can you see it on TickerBase?
Open a live chart and add the indicator