Bollinger Bands, developed by John Bollinger, wrap a price chart in a flexible envelope that widens when volatility rises and narrows when it falls. They answer a simple question: is current price high or low relative to its own recent range, and how volatile has that range been? This makes them useful both on a single chart and as the basis for scans such as squeezes and breakouts.
How Bollinger Bands are built
With the standard BB 20/2 settings there are three lines:
- Middle band: the 20-period simple moving average (SMA) of close.
- Upper band: the middle band plus 2 times the 20-period standard deviation of close.
- Lower band: the middle band minus 2 times the 20-period standard deviation of close.
Standard deviation measures how widely prices were scattered around their average. When prices swing a lot, the standard deviation grows and the bands move apart. When prices are calm, it shrinks and the bands tighten. Unlike a fixed-percentage envelope, the bands adapt on their own.
Illustrative example
These figures are made up. Suppose a stock's 20-day SMA is 500 and the 20-day standard deviation is 10. The upper band is 500 + 2 x 10 = 520 and the lower band is 500 - 20 = 480. The band width is 40 rupees, or 8 percent of the middle band. If a quiet few weeks cut the standard deviation to 4, the bands become 508 and 492, a width of 16 rupees or 3.2 percent. That tightening is what traders call a squeeze. A later session with a close at 515 is now a much larger statistical event than it was when the bands were wide.
What the bands tell you
Relative price level
Price near the upper band is high compared with its recent average; near the lower band it is low. This is relative, not absolute. A stock can hug the upper band during a powerful advance and the reading remains "normal" for that regime.
Volatility cycles
Volatility tends to alternate between quiet and active phases. After bands contract, expansion often follows, though direction and timing are not predictable from the bands alone. This is the idea behind the squeeze.
Band walks
In strong trends, closes can remain at or beyond the upper band (or lower band in a downtrend) for many candles. During a walk, the touch itself is not a reversal signal. A first close back below the middle band is often used as a sign that trend strength has faded.
Mean reversion in ranges
In sideways markets, price often oscillates between the bands and the middle band acts as a magnet. Traders who work ranges sometimes fade band touches. This approach fails when a range breaks and a new trend begins, so it depends on correctly identifying the regime first.
Squeezes and breakouts
| Concept | What the scan looks for | What it does not tell you |
|---|---|---|
| Squeeze | Band width at or near its lowest level of recent months | The direction of the next move |
| Breakout | Close above the upper band (or below the lower band) | Whether the move will hold |
A squeeze is a setup condition, not an instruction. A breakout beyond a band after a squeeze is a stronger event than a random band touch because it combines low prior volatility with a sudden expansion. Even so, false breakouts are common: price pokes outside, then falls back inside within a candle or two.
Limits and false signals
- Bands are lagging; they are derived from past closes.
- The 2 standard deviation rule assumes roughly normal returns, but markets have fat tails and gaps, so excursions beyond the bands are more frequent than the theory implies.
- Bands do not provide direction. They need pairing with trend or momentum tools.
- Gaps at the 09:15 IST open on NSE can blow through a band instantly, producing a breakout reading that is really an overnight news effect.
- A single outsized candle can inflate the standard deviation for 20 periods, distorting the bands even after the event has passed.
How to scan for it on ChartScanX
ChartScanX evaluates BB 20/2 for NSE stocks and lists matches for the conditions below.
- Bollinger Band Squeeze Stocks finds stocks whose bands have contracted, the "coiled" setup.
- Bollinger Band Breakout Stocks finds stocks that have closed beyond a band, the "expansion" event.
- NR7 Stocks finds stocks with the narrowest range in seven sessions, a complementary measure of compression.
- Inside Bar Breakout Stocks adds a candle-based take on breaking out of contraction; see candlestick patterns for context.
- Volume Breakout Stocks helps check whether a breakout came with participation.
A practical workflow
- Run the squeeze scan and build a watchlist. Do not act on the squeeze alone; it has no direction.
- Add a directional filter. For instance, check that price sits above its 200-day moving average if you are interested in upside breakouts only.
- When a breakout scan later matches one of your watchlist names, check volume. A breakout on thin volume is easier to fail.
- Look at RSI so you know whether the move began from a neutral or already stretched reading.
- Set your own risk limits before anything else. The scan narrows the list; it does not choose for you. The general method is covered in how to scan stocks.
Bandwidth and %B
Two derived measures are common. Bandwidth is (upper band - lower band) / middle band, a direct measure of how wide the bands are, and is the number used to define a squeeze. %B shows where price sits within the bands: 1.0 means price is at the upper band, 0.0 at the lower band, 0.5 at the middle. Values above 1 or below 0 mean price is outside the bands. Both are handy for ranking stocks in a scan result.
Bollinger Bands in the Indian market
Large Nifty stocks often show steady, readable volatility cycles around events such as quarterly results and RBI policy dates. Smaller NSE stocks can spend long stretches with tight bands and low liquidity, then jump on news; a squeeze in an illiquid name can be misleading because a few trades set the bands. Sorting results by traded value before studying them helps. Weekly Bollinger Bands are also worth a glance, since a daily squeeze inside a weekly squeeze is a more notable compression than a daily one alone.
Combining bands with trend
Because the bands carry no direction, pairing them with a trend reference matters. In an uptrend, many traders pay attention to pullbacks toward the middle band rather than to touches of the upper band, since the middle band is the 20-period average and often acts as trend support. In a downtrend, bounces toward the middle band that stall are watched in the same way. This reading keeps the bands in service of the trend instead of fighting it.
Common mistakes
- Treating an upper-band touch as a sell signal or a lower-band touch as a buy signal in a trending market.
- Assuming a squeeze predicts direction.
- Ignoring volume and trend when a breakout appears.
- Using the same settings on every timeframe without checking whether they make sense.
- Forgetting that one large candle can distort the bands for the next 20 periods.
- Reading scan matches as recommendations instead of a shortlist to study with your own risk plan.
Frequently asked questions
What are the standard Bollinger Band settings?
The standard settings are a 20-period simple moving average for the middle band and bands set 2 standard deviations above and below it. This is written BB 20/2.
Does touching the upper band mean a stock will fall?
No. A touch of the upper band only shows price is high relative to its recent average. In strong trends, price can ride along the upper band for many sessions, which is often called a band walk.
What is a Bollinger Band squeeze?
A squeeze is a period when the bands narrow to unusually tight levels, meaning volatility has contracted. It describes low volatility, and it does not tell you which direction the next move will take.
What percentage of price should fall inside the bands?
With 2 standard deviations, roughly 95 percent of values would sit inside the bands if returns were normally distributed. Real markets have fatter tails, so breaks outside the bands happen more often than that.
Can I use Bollinger Bands on intraday charts?
Yes, but standard settings give frequent band touches on 1 to 5 minute charts. Many traders use 15 minute or higher charts to reduce noise.