Bollinger Bands BB
A moving average wrapped in standard-deviation bands that widen and narrow with volatility.
Quick answer: Bollinger Bands plot a moving average with an upper and lower band set two standard deviations away, so the bands widen when volatility rises and squeeze when it falls, framing price within a statistical envelope.
In simple words
Bollinger Bands draw three lines: a middle 20-period moving average, and an upper and lower band placed two standard deviations above and below it. Because standard deviation grows when the market gets choppy and shrinks when it calms, the bands automatically widen in volatile phases and pinch together in quiet ones. Price spends most of its time between the bands. Traders watch two things above all: a 'squeeze', when the bands narrow sharply and warn a big move is coming, and how price behaves at the bands — either reversing in a range or 'walking the band' in a strong trend.
Bollinger Bands — visual
How Bollinger Bands looks on a chart
Three lines: a 20-period middle SMA, plus upper and lower bands ±2 standard deviations away. The bands widen with volatility and squeeze when it contracts; price mostly stays between them.
Professional explanation
Standard deviation makes the bands adaptive
The genius of Bollinger's design is that the band width is driven by standard deviation, a statistical measure of dispersion. In a quiet market prices cluster near the average, standard deviation is small, and the bands hug price tightly. When volatility erupts, prices scatter, standard deviation jumps, and the bands flare out. Unlike fixed-percentage envelopes, Bollinger Bands breathe with the market, so a 'band tag' means something different in a calm market than in a wild one.
The squeeze: volatility's coiled spring
The most prized Bollinger signal is the squeeze — when the bands contract to their narrowest in months. Low volatility does not persist; it is followed by high volatility. So an extreme squeeze warns that a powerful move is loading, though it does not say which way. Traders wait for price to break out of the squeeze on expanding bands and volume, then trade in the breakout's direction. The squeeze is a setup, the breakout is the trigger.
Band tags and the walk: range versus trend
A common myth is that a tag of the upper band is a sell and the lower band a buy. That only works in a range. In a strong trend, price 'walks the band' — riding along the upper band in an uptrend or the lower band in a downtrend for many bars — and fading those tags is a losing game. The middle band (the 20 SMA) is the tell: in an uptrend pullbacks hold near it; a decisive close back through it warns the trend may be stalling.
%B and Bandwidth: quantifying the bands
Bollinger built two companion tools. %B expresses where price sits within the bands on a 0–1 scale (0 = lower band, 1 = upper band), making band position a number you can test. Bandwidth measures the distance between the bands relative to the middle line, so squeezes and expansions become measurable — a Bandwidth at a multi-month low is the objective definition of a squeeze.
Formula
Bollinger Bands formula
Middle = SMA₂₀(close); Upper = Middle + 2σ; Lower = Middle − 2σ
σ is the standard deviation of closing price over the same 20 periods. The defaults are a 20-period SMA and a multiplier of 2; both can be tuned.
- Middle Band — The 20-period simple moving average of closing price
- σ (sigma) — Standard deviation of closing price over the look-back period
- Multiplier — How many standard deviations the bands sit from the middle (default 2)
- N — Look-back period for both the average and the deviation, default 20
How it is calculated
- Compute the 20-period simple moving average of closing price — this is the middle band.
- Compute the standard deviation of the same 20 closes.
- Upper band = middle band + (2 × standard deviation).
- Lower band = middle band − (2 × standard deviation).
- Plot all three; the gap between the bands is the current volatility, and a narrow gap is a squeeze.
Interpretation & signals
Traders read Bollinger Bands through band width (a squeeze warns of a coming move; wide bands warn of a stretched one), price behaviour at the bands (reversal in a range versus a band-walk in a trend), and the middle band as dynamic support/resistance and a trend gauge.
Buy / bullish signals
- Squeeze breakout: after the bands pinch to a multi-week low, price breaks and closes above the upper band on expanding bands — a volatility-expansion long in the breakout direction.
- In an uptrend, price pulls back to the middle band (20 SMA) and holds, then turns up — a trend-continuation entry as the bands stay wide.
- Range reversal: in a sideways market, a tag of the lower band with a bullish rejection candle offers a mean-reversion long back toward the middle.
- A 'W-bottom' where the second low holds inside the lower band while price makes a lower low signals waning downside momentum.
Sell / bearish signals
- Squeeze breakdown: after a tight squeeze, price breaks and closes below the lower band on widening bands — a volatility-expansion short.
- In a downtrend, a rally to the middle band that fails and rolls over is a trend-continuation short.
- Range reversal: a tag of the upper band with a bearish rejection in a sideways market is a mean-reversion short toward the middle.
- An 'M-top' where a second high fails to reach the upper band warns the up-move is losing power.
False signals to beware
- Fading band tags in a strong trend is the classic trap — price walks the band and every counter-trend fade loses.
- A squeeze tells you a move is coming but not its direction; a false break out of the squeeze can reverse hard.
- In very quiet markets the bands hug price so tightly that constant band tags become meaningless noise.
Settings, timeframe & conditions
Advantages & limitations
Advantages
- Adapts automatically to volatility via standard deviation — no manual re-tuning.
- The squeeze is one of the best early warnings of an impending large move.
- Frames price statistically, making 'stretched' and 'compressed' objective.
- Versatile: works for mean-reversion in ranges and breakout trading in trends.
Limitations & disadvantages
- Gives no direction on a squeeze — only that a move is coming.
- Band tags mislead in trends, where price walks the band.
- Based on a simple moving average, so it lags and reacts after volatility shifts.
- The ±2σ default assumes a normal-ish distribution that markets often violate at extremes.
Combining Bollinger Bands with other indicators
- Relative Strength Index — An RSI extreme that coincides with a tag of the outer band marks a higher-probability mean-reversion point in a range.
- Average True Range — ATR confirms the volatility story in points: a squeeze on the bands alongside a multi-week low in ATR is a strong coiled-spring setup.
- Keltner Channel — When the Bollinger Bands contract inside the Keltner Channel, it is the classic 'TTM squeeze' — a precise, popular definition of a volatility squeeze.
Practical examples (Nifty & Bank Nifty)
NIFTY example
Nifty grinds sideways for three weeks and the Bollinger Bands pinch to their narrowest in months — a textbook squeeze, with Bandwidth at a multi-month low. Nifty then closes decisively above the upper band as the bands flare open. A breakout trader goes long in the direction of the break, using the middle band (20 SMA) as the trailing reference; the widening bands confirm volatility has expanded and the move has room to run.
BANKNIFTY example
Bank Nifty is trending up strongly and 'walks' the upper band for several sessions, closing near it day after day. A trader who shorts each upper-band tag as 'overbought' is repeatedly stopped out — in a trend the band-walk is a sign of strength, not exhaustion. The correct read is to hold long while pullbacks respect the middle band; only a decisive close back below the 20 SMA warns Bank Nifty's up-leg is stalling.
Common mistakes
- Selling every upper-band tag and buying every lower-band tag regardless of whether the market is ranging or trending.
- Trading a squeeze breakout in the wrong direction because you assumed the squeeze itself was directional.
- Ignoring the middle band, which is both dynamic support/resistance and the trend gauge.
- Forgetting that in a strong trend price is supposed to hug and walk the band.
Professional usage
Professionals use Bollinger Bands as a volatility framework rather than a signal line. They hunt squeezes (often quantified with Bandwidth or the Bollinger-inside-Keltner condition) to anticipate expansions, then trade the breakout in its confirmed direction with volume and momentum backing. In trends they respect the band-walk and use the middle band to manage the position; in ranges they fade the outer bands with an oscillator for confirmation. The bands describe the environment; another tool supplies the direction.
Key takeaway
Bollinger Bands wrap a moving average in standard-deviation bands that breathe with volatility. The squeeze warns a big move is loading, the breakout supplies the direction, and the band-walk marks a strong trend you should not fade. Read the bands as an environment, not as automatic buy/sell lines.
Frequently asked questions
What are Bollinger Bands?
What are the best Bollinger Band settings?
What is a Bollinger Band squeeze?
Is a tag of the upper Bollinger Band a sell signal?
What does it mean when price walks the band?
What is the middle Bollinger Band used for?
What is %B in Bollinger Bands?
What is Bollinger Bandwidth?
Do Bollinger Bands work for intraday trading?
Are Bollinger Bands good for Nifty and Bank Nifty?
Why do Bollinger Bands widen and narrow?
Can Bollinger Bands predict direction?
Voice search & related questions
Natural-language questions people ask about Bollinger Bands.
What are Bollinger Bands in simple words?
What is a Bollinger squeeze?
Should I buy when price hits the lower band?
Do Bollinger Bands tell you up or down?
Sources & references
Last reviewed 8 July 2026. Educational content only — not investment advice.