Bollinger bands are a chart overlay that wraps price in three lines. The middle line is a moving average. The upper and lower lines sit a set number of standard deviations above and below that average.
They expand and contract with volatility. Wide bands signal choppy movement and bigger daily swings. Tight bands suggest a calmer market and often set up the next strong move.
What the three bands show
The middle band is usually a 20-period simple moving average of closing prices. It gives a short trend reference. If price stays mostly above it, momentum tilts higher; mostly below it, lower.
The outer bands mark a typical range around that average. Because they are set using standard deviation, they adapt as volatility changes. When trading is sleepy, the bands pinch together. When markets heat up, they push apart.
Prices often swing between the outer lines during range-bound phases. In trends, price can hug one band for a while, a behaviour traders sometimes call walking the band.
How Bollinger bands are calculated
Default settings are common but not mandatory. The textbook set-up uses:
- Length: 20 periods
- Average type: simple moving average of closing prices
- Deviation multiplier: 2 standard deviations
Calculation steps:
- Compute the 20-period simple moving average (SMA) of closing prices. This is the middle band.
- Compute the standard deviation of those same 20 closes.
- Upper band = SMA + k × standard deviation. With defaults, k = 2.
- Lower band = SMA − k × standard deviation.
Quick example: if the 20-period SMA is 100 and the 20-period standard deviation is 2.5, then the upper band is 105 and the lower band is 95 when k = 2.
Some platforms let you use an exponential moving average instead of a simple one, or choose typical price rather than close. That changes sensitivity a little. The core idea stays the same: the outer lines sit k standard deviations either side of the moving average.
Common ways traders use them
- Mean reversion. In quiet ranges, touches of the upper band are read as stretched to the upside and touches of the lower band as stretched to the downside. Traders look for signs of a turn back toward the middle band.
- Volatility breakouts. A tight squeeze can precede a strong move. A push and close outside a squeezed band is taken by some as a momentum signal in the breakout direction, especially if volume jumps.
- Trend participation. During a strong uptrend, repeated tags of the upper band with shallow pullbacks to the middle band can offer buy-the-dip structure. Flip that logic for downtrends and the lower band.
- Context for other tools. Bands are often paired with oscillators to avoid fading strong trends blindly. For example, a lower-band tag plus a momentum turn up can be a cleaner long entry than the band touch alone.
None of these are rules that must work. They are patterns traders test and monitor. Closing price behaviour near the bands matters more than an intraday poke.
Reading moves at the bands
A touch of a band is not automatically overbought or oversold. Strong trends can see price grind along a band for days while the move continues.
Closes outside a band are relatively uncommon when volatility is stable, yet markets do not follow perfect bell curves. You will see clusters of outsized moves. After a close beyond the band, a swift snap back inside suggests a failed break and a possible mean reversion. A follow-through day that also holds beyond the band tilts the odds toward continuation.
Watch how pullbacks behave. In an uptrend, pullbacks that stall near the middle band and turn up keep the uptrend structure intact. Deep closes through the middle band that then ride the lower band hint at trend fatigue or reversal. The mirror applies for downtrends and a bearish phase.
Settings, timeframes and tweaks
Defaults of 20 periods and 2 standard deviations are a sensible starting point, not a law. Shorter lengths and lower multipliers make bands tighter and more sensitive. Longer lengths and higher multipliers smooth more noise but react later.
Timeframe changes the feel of the tool. On intraday charts, bands respond quickly and can produce frequent signals. On daily or weekly charts, they frame the broader rhythm. Crypto trades around the clock with bursts of volatility, so expect more frequent squeezes and expansions than you might see in some equities.
Two common derivatives can help:
- %B tells you where price sits relative to the bands on a 0 to 1 scale. Near 1 means near the upper band, near 0 means near the lower band, above 1 or below 0 means outside.
- Bandwidth measures the distance between the upper and lower bands normalised by the middle band. It is a compact way to scan for squeezes.
Names and inputs vary by charting platform, and exact calculations can differ slightly. If you code strategies for automated trading, check the platform’s documentation so you know which price series and deviation method it uses.
Limits and common mistakes
- Treat bands as context, not a complete system. They describe volatility around a moving average. They do not predict direction by themselves.
- Do not assume a touch equals reversal. In strong trends, touches often mark strength, not exhaustion.
- Volatility regimes shift. A parameter set that worked in a calm period can misfire in a high-volatility phase. Review settings rather than curve-fitting to the recent past.
- Distribution assumptions break down. Standard deviation assumes a certain spread around the mean. Markets show fat tails and clustering, so price can live outside the bands longer than you expect.
- Know the difference between volatility and market correlation. Bands react to the asset’s own variability, not its co-movement with a market index. For market sensitivity you would examine beta.
- Use risk management. Bands can help with timing, but placement of stops and position sizing still drive outcomes.
Well used, Bollinger bands provide a live map of trend and volatility. They help you see when price is stretching, when energy is coiling, and how conditions change as a move develops. The edge comes from testing a clear plan and sticking to it when the market heats up or cools down.