Bollinger Bands
Finds: A price range based on recent volatility.
When to use it: Use it to see whether a price is high or low compared with its own recent range. Bands widen when the market is volatile and narrow when it is calm. A price near the upper band is only "high" relative to recent history, not necessarily overvalued.
The formula
In words: Bands = Simple moving average of the last n prices plus and minus k standard deviations (k is usually 2)
What each symbol means
| SMA | Simple moving average of the last n closing prices | money |
| sigma | Standard deviation of those n prices | money |
| k | Number of standard deviations, normally 2 | number |
| %B | Where the latest price sits: 0 at the lower band, 1 at the upper band | number |
Worked example
Over the last 20 days a stock closed at 20, 21, 22, 21, 23, 24, 22, 25, 26, 25, 27, 26, 28, 27, 29, 28, 30, 29, 31 and 30. What are the 2-standard-deviation Bollinger Bands?
| Middle band | 25.70 | |
| Standard deviation of the last n prices | 3.2879 | |
| Upper band | 25.7 + 2 × 3.28786 | 32.28 |
| Lower band | 25.7 − 2 × 3.28786 | 19.12 |
| %B | ([20, 21, 22, 21, 23, 24, 22, 25, 26, 25, 27, 26, 28, 27, 29, 28, 30, 29, 31, 30][−1]−19.1243) ÷ (32.2757 − 19.1243) | 0.83 |
The answer
The 20-day average is 25.70. The bands run from 19.12 to 32.28. The last price of 30 has a %B of 0.83, in the upper part of the range.
Want every formula on a few pages?Get the free Cheat Sheet (PDF) →
Calculator
Upper band32.28
Middle band25.70
Lower band19.12
%B0.83