You request, we deliver. The only platform shaped by an open trader community.
Got a question or a feature you wish existed? Drop it in our Telegram community, the Stolo team is right there reading every message.
Bollinger Bands are a moving average with a band above and below it. The bands widen when prices are volatile and narrow when the market is calm.
Bollinger Bands are a technical indicator made of three lines drawn around the price on a chart: a moving average in the middle, and a band above and below it. The outer bands are set a fixed number of standard deviations away from the average, so they widen when prices swing a lot and narrow when the market is quiet. Traders use them to judge whether the price is stretched compared with its recent range, and whether volatility is about to change.
The indicator was developed by John Bollinger and is available on almost every charting platform.
The standard settings use a 20-period simple moving average and bands two standard deviations away from it:
Middle band = 20-period simple moving average of the closing price
Upper band = middle band + (2 × standard deviation of the last 20 closes)
Lower band = middle band – (2 × standard deviation of the last 20 closes)
The standard deviation measures how far the closing prices have been spreading out from their average. When prices swing widely, it rises and the bands move apart. When prices barely move, it falls and the bands squeeze together.
Example (hypothetical): on an index chart, the average of the last 20 closes is 20,000 and their standard deviation is 100 points.
The “period” is whatever timeframe the chart uses. On a daily chart, it’s 20 days. On a 15-minute chart, it’s 20 fifteen-minute candles.
| What you see | What it usually suggests |
|---|---|
| Price near the upper band | The price is high compared with its recent range. Strong, but possibly stretched. |
| Price near the lower band | The price is low compared with its recent range. Weak, but possibly stretched. |
| Price around the middle band | The price is near its recent average. The middle band often acts as support in an uptrend and resistance in a downtrend. |
| Bands widening | Volatility is rising, often as a new move gets going. |
| Bands narrowing (a squeeze) | Volatility is falling. Quiet periods often come before a sharp move. |
Touching a band is not a signal on its own. In a strong trend, the price can keep pushing along the upper or lower band for many candles. Traders call this “walking the bands”.
A squeeze is when the bands narrow sharply because the market has gone quiet. Using the same index with a standard deviation that has dropped to 40 points (hypothetical numbers):
| Normal | Squeeze | |
|---|---|---|
| Standard deviation | 100 points | 40 points |
| Upper band | 20,200 | 20,080 |
| Lower band | 19,800 | 19,920 |
| Gap between the bands | 400 points | 160 points |
Periods of low volatility tend not to last, so a squeeze often comes before a big move. The catch is that the squeeze tells you a move may be coming, not which way it will go. Many traders wait for the price to close outside one of the bands, ideally with rising volume, before treating it as a breakout.
%B shows where the price sits within the bands:
%B = (price – lower band) ÷ (upper band – lower band)
With bands at 19,800 and 20,200 (hypothetical numbers):
A %B above 1 means the price has closed above the upper band. Below 0 means it has closed below the lower band.
Bandwidth shows how wide the bands are compared with the average:
Bandwidth = (upper band – lower band) ÷ middle band
In the normal example, bandwidth is 400 ÷ 20,000 = 2%. In the squeeze, it’s 160 ÷ 20,000 = 0.8%. A bandwidth near its lowest level in months is one way traders spot a squeeze.
Bollinger Bands work best alongside other tools, such as support and resistance levels, VWAP or Supertrend, rather than on their own.
Bollinger Bands measure volatility that has already happened in the price, which is historical volatility. Option prices depend on implied volatility, the volatility the market expects. The two often move together but aren’t the same:
Comparing the width of the bands with implied volatility, or India VIX for the overall market, helps judge whether options look cheap or expensive compared with how much the price has actually been moving.
To add Bollinger Bands to any Nifty, Bank Nifty or F&O stock chart, alongside other indicators, use Stolo’s TradingView charts. To practise reading squeezes and breakouts on past sessions, use market chart replay.
Got a question or a feature you wish existed? Drop it in our Telegram community, the Stolo team is right there reading every message.