VolatilityVolatility envelope (adaptive bands)BB

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.

25759.123543.6PriceTime (illustrative bars →)Basis (SMA 20)
Category
Volatility Indicators
Type
Volatility envelope (adaptive bands)
Created by
John Bollinger (1980s)
Best timeframe
Daily for swing; 15-min for intraday squeezes

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

  1. Compute the 20-period simple moving average of closing price — this is the middle band.
  2. Compute the standard deviation of the same 20 closes.
  3. Upper band = middle band + (2 × standard deviation).
  4. Lower band = middle band − (2 × standard deviation).
  5. 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

Best settings
20-period SMA, 2 standard deviations (Bollinger default)
Avoid
Treating every upper-band tag as a sell in a trending market
Works best in
Alternating volatility — squeezes into range then breakout
Struggles in
Strong one-way trends if you fade the bands (walk the band instead)

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?
Bollinger Bands, created by John Bollinger in the 1980s, are a volatility indicator plotting a 20-period moving average with an upper and lower band set two standard deviations away. The bands widen when volatility rises and narrow when it falls, framing price in a statistical envelope.
What are the best Bollinger Band settings?
The standard is a 20-period simple moving average with bands at 2 standard deviations. Shorter periods make the bands more reactive; some traders widen the multiplier to 2.5 on volatile instruments like Bank Nifty to reduce false tags.
What is a Bollinger Band squeeze?
A squeeze is when the bands contract to their narrowest in a long time, signalling very low volatility. Because low volatility is followed by high volatility, a squeeze warns that a large move is coming — but not which direction, so traders wait for the breakout.
Is a tag of the upper Bollinger Band a sell signal?
Only in a range. In a strong uptrend price 'walks the band', tagging or riding the upper band for many bars, and shorting those tags loses. A band tag is a mean-reversion sell only when the market is genuinely sideways.
What does it mean when price walks the band?
Walking the band is when price hugs the upper band (uptrend) or lower band (downtrend) for a run of bars. It is a sign of a strong, healthy trend — not overbought or oversold — and counter-trend fades against it typically fail.
What is the middle Bollinger Band used for?
The middle band is the 20-period moving average. It acts as dynamic support in an uptrend and resistance in a downtrend, and a decisive close through it often signals the trend is weakening. Many traders use it to trail positions.
What is %B in Bollinger Bands?
%B measures where price sits within the bands on a 0–1 scale: 0 is the lower band, 0.5 the middle, and 1 the upper band. It turns band position into a number, so 'near the upper band' becomes an objective, testable value.
What is Bollinger Bandwidth?
Bandwidth is the distance between the upper and lower bands divided by the middle band. It quantifies volatility: a Bandwidth at a multi-month low is the objective definition of a squeeze, and a rising Bandwidth confirms an expansion.
Do Bollinger Bands work for intraday trading?
Yes. On 5- or 15-minute charts traders use squeezes to anticipate intraday breakouts and band tags to fade moves in a range. Because intraday data is noisier, confirmation with volume or an oscillator is important.
Are Bollinger Bands good for Nifty and Bank Nifty?
Yes. They frame volatility well on both indices. Bank Nifty is more volatile, so its bands are wider and it walks the band more often, meaning band-tag fades are riskier on Bank Nifty than on Nifty.
Why do Bollinger Bands widen and narrow?
Because their width is set by standard deviation. When prices scatter (high volatility) the standard deviation grows and the bands widen; when prices cluster (low volatility) it shrinks and the bands narrow. This is what makes the bands adaptive.
Can Bollinger Bands predict direction?
No. A squeeze predicts that a large move is coming but not its direction, and the bands themselves are non-directional. Traders combine the bands with trend, momentum or volume tools to decide which way to trade the expansion.

Voice search & related questions

Natural-language questions people ask about Bollinger Bands.

What are Bollinger Bands in simple words?
They are three lines around price: a middle average, plus an upper and lower band that stretch out when the market is wild and pull in when it is calm. Price usually stays between them.
What is a Bollinger squeeze?
A squeeze is when the bands get very narrow because the market has gone quiet. It is a warning that a big move is coming soon, though it does not tell you whether the move will be up or down.
Should I buy when price hits the lower band?
Only if the market is moving sideways. In a downtrend price can ride along the lower band for a long time, so buying every lower-band tag can lose money. Wait for the market to be range-bound first.
Do Bollinger Bands tell you up or down?
No. They only show how volatile the market is and where price sits in its range. You need a trend or momentum tool alongside them to decide the direction to trade.

Sources & references

Last reviewed 8 July 2026. Educational content only — not investment advice.

Educational content only — not investment advice. Indicator diagrams are illustrative, computed from a fixed synthetic price series. Trading involves substantial risk. See our Risk Disclosure and SEBI Disclaimer.