Bollinger Bands Explained: Volatility, Squeezes and Signals
Bollinger Bands are three lines drawn around price: a moving average in the middle and two bands above and below it. The bands widen when the market gets volatile and narrow when it calms down. That simple behavior makes them useful for two things: judging whether price is stretched, and spotting quiet periods that may come before a big move.
The indicator was developed by John Bollinger in the 1980s and remains one of the most popular tools on any chart.
The three lines
- Middle band: a 20-period simple moving average.
- Upper band: the middle band plus two standard deviations.
- Lower band: the middle band minus two standard deviations.
Standard deviation is a statistical measure of how spread out prices are around their average. When prices swing widely, standard deviation is large and the bands move apart. When prices barely move, it is small and the bands squeeze together.
How Bollinger Bands are calculated
Middle = 20-period SMA
Upper = Middle + (2 x standard deviation of the last 20 closes)
Lower = Middle - (2 x standard deviation of the last 20 closes)
Worked example (simplified to 5 days)
To keep the math manageable, here is the calculation using 5 closes instead of 20: $48, $49, $50, $51, $52.
- Average: (48 + 49 + 50 + 51 + 52) / 5 = $50.00
- Distance of each close from the average: −2, −1, 0, +1, +2
- Square each distance: 4, 1, 0, 1, 4
- Average of the squares: 10 / 5 = 2
- Square root: √2 = 1.41. This is the standard deviation.
- Bands: upper = 50 + 2 × 1.41 = $52.83, lower = 50 − 2 × 1.41 = $47.17
Now imagine a more volatile stock with closes of $44, $47, $50, $53, $56. The average is still $50, but the distances are −6, −3, 0, +3, +6. Squared: 36, 9, 0, 9, 36. Average: 18. Square root: 4.24. The bands are now at $58.49 and $41.51, three times wider.
Same average, very different bands. That is the core idea: Bollinger Bands adapt to each asset's own volatility.
How to read Bollinger Bands
Where price sits within the bands
In a normal distribution, about 95% of values fall within two standard deviations of the mean. Prices are not perfectly normal, but the idea gives a rough sense of scale: closes outside the bands are relatively uncommon.
- Near the upper band: price is high relative to its recent average and volatility.
- Near the lower band: price is low relative to its recent average and volatility.
- Near the middle band: price is close to its 20-day average.
Some traders track this with %B, which places price on a scale where 0 is the lower band and 1 is the upper band. A close exactly halfway between them is 0.5.
Band width
The distance between the bands shows volatility. Wide bands mean big recent swings. Narrow bands mean quiet trading.
Three common ways traders use Bollinger Bands
1. The squeeze
When the bands narrow to their tightest point in several months, volatility is unusually low. Markets tend to alternate between quiet and active phases, so a squeeze often comes before a larger move.
The catch: the squeeze does not tell you which direction. Traders usually wait for a close outside the bands, ideally on higher volume, before acting. Our guide to breakouts and fakeouts covers why the first move out of a squeeze is sometimes a trap.
2. Walking the bands
In strong trends, price can hug the upper band (in an uptrend) or the lower band (in a downtrend) for weeks. Each touch is a sign of strength, not exhaustion. Traders who see price walking the upper band often stay in the trade and use the middle band as a trailing exit level.
3. Mean reversion in ranges
In sideways markets, price tends to bounce between the bands. A mean reversion trader might buy near the lower band and target the middle band, with a stop just below recent lows. This works only when there is no strong trend, which is why checking the slope of the middle band first is important. A flat middle band suggests a range. A steeply sloping one suggests a trend.
Worked trade example
A stock trades in a range. Its 20-day SMA is flat at $100, with bands at $106 and $94. Price drops to $94.50, then closes back up at $96.
- Entry: $96 (back inside the band after a test)
- Stop: $92.50, below the recent low
- Target: the middle band at $100
- Risk: $3.50; reward: $4
That is roughly 1.1 to 1, a modest ratio typical of range trades. These setups rely on a higher win rate than trend trades, and they fail badly if the range breaks.
Common mistakes
Treating band touches as reversal signals. This is the most common error. A touch of the upper band in a strong uptrend is normal, not a reason to sell.
Ignoring the trend. Mean reversion rules work in ranges. In trends, they fight the market.
Assuming a squeeze tells direction. It only tells you volatility is low.
Comparing band widths between different stocks. Volatility is relative. A crypto asset will almost always have wider bands than a utility stock. See crypto volatility.
Limitations
Bollinger Bands are built on a 20-day moving average, so they lag. Standard deviation reacts to big moves in both directions, so a sharp drop widens the bands just as much as a sharp rise. The bands describe where price has been relative to recent volatility, not where it will go.
How they fit with other indicators
Bollinger Bands pair well with momentum tools. A touch of the lower band with RSI below 30 is a stronger oversold reading than either alone. For measuring volatility in dollar terms, especially to set stops, many traders prefer the Average True Range, which uses highs and lows rather than only closes.
Stupid Simple Trader's signal does not include Bollinger Bands; it focuses on moving averages, MACD and RSI.
Try it
Look up a volatile name like BTC-USD and compare its current signal with how stretched it looks relative to its recent range. The overbought stocks screen is also a good place to find stocks walking their upper bands.