What is Bollinger Bands?
Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy
John Bollinger designed the bands in the 1980s so that their width adapts to volatility. When prices swing widely, the standard deviation grows and the bands move apart; when the market goes quiet, they pinch together. The bands therefore answer two questions at once: is price high or low relative to its recent average, and is volatility expanding or contracting?
How the bands are calculated
- Take the 20-period simple moving average of closes. This is the middle band.
- Compute the standard deviation of the same 20 closes. Bollinger’s method uses the population standard deviation (dividing by 20, not 19).
- Add 2 standard deviations to the middle band for the upper band and subtract 2 for the lower band.
- Optionally compute %B (where price sits between the bands, 0 at the lower and 1 at the upper) and bandwidth (band distance as a share of the middle band).
- The 20 and 2 defaults are a starting point. Bollinger’s own guidance widens the multiplier slightly for longer periods and narrows it for shorter ones, and many traders keep 20,2 on every timeframe. Whatever you pick, keep it fixed while you collect trades.
Worked example: Nifty, normal and squeeze
Illustrative levels with the 20-day SMA at 25,000 and σ at 150 points. If Nifty then spends two quiet weeks and σ falls to 60, the bands tighten to 25,120 and 24,880, a width of 240 points or 0.96% of the middle band. That compression is the squeeze. Back in the first case, a close at 25,360 above the 25,300 upper band would show %B of 660 ÷ 600 = 1.10: price is outside the band, which happens in strong moves and is not by itself a signal to fade.
Three common uses
| Behaviour | What traders look for | Journal tag idea |
|---|---|---|
| Squeeze, then expansion | Bandwidth near a multi-week low, then a close outside the band with volume | bb-squeeze-break |
| Walking the band | Repeated closes near the upper (or lower) band in a trend; pullbacks to the middle band as entries | bb-band-walk |
| Fade at the band | A rejection candle at the outer band inside a range, with a target at the middle band | bb-fade |
The fade and the band walk are opposite trades in the same picture, so only your journal can say which suits you. Log the setup tag, timeframe, %B and bandwidth at entry. After 30 or more trades per tag, compare expectancy; if fades lose money when ADX is high, that becomes a written filter.
Bollinger Bands
Keltner Channel
Limits worth knowing
- The bands are not support and resistance. They mark where price is unusual relative to the last 20 bars, and in a trend unusual can last for weeks. Treating every touch as a wall is the most common way the indicator costs money.
- Standard deviation reacts to single large closes. One results-day gap can widen the bands for the next 20 bars, then they snap narrower when it drops out of the window.
- A squeeze tells you volatility is low, not which way it will expand. Many squeezes resolve with a false move first, so define the break and the stop before it happens.
- The middle band is a 20-period simple average, so it lags in fast moves. Pullback entries to it work better in steady trends than in sharp ones.
- Bands on very short intraday charts include the open, lunch lull and close in one window, which mixes very different volatility regimes.
A useful habit is to write down, before the session, which of the three behaviours you expect on the instruments you trade and what would prove you wrong. If you expect a range and price closes outside the band with rising bandwidth, the fade setup is off for the day. That single rule, logged with each trade, is usually more worth reviewing than the choice of period or multiplier.
Reference guide
| Context | Value | Reading |
|---|---|---|
| A squeeze read as a sign that a bigger move may follow | Fair reading | It says nothing about direction; wait for price to leave the range |
| Shorting every touch of the upper band | Costly in trends | Strong trends can walk along the band for many sessions |
| Same 20,2 settings on a 5-minute and a daily chart, logged under one tag | Muddled data | They behave like two different systems; tag the timeframe with the setup |
Questions
What are the standard Bollinger Band settings?
A 20-period simple moving average with bands 2 standard deviations above and below. Some traders adjust the period or multiplier for shorter or longer timeframes.
How are Bollinger Bands calculated?
Middle band = 20-period SMA of closes. Upper and lower bands = middle ± 2 × the standard deviation of those 20 closes.
What is a Bollinger Band squeeze?
A period when the bands are unusually close together because volatility has dropped. It often precedes a larger move but does not show which way.
Is price touching the upper band a sell signal?
Not on its own. In a strong uptrend price can ride the upper band for many sessions. Touches matter only inside a defined setup with a trigger and stop.
Do Bollinger Bands work on Nifty and Bank Nifty intraday?
They can be applied on any timeframe. Results depend on the setup, so tag the timeframe and review expectancy on your own trades.