MarketShots
Search0 day streak,0 XPlevel 1

Technical analysisModule 3, lesson 16 of 32

Bollinger Bands

How Bollinger Bands place lines two standard deviations either side of a moving average, how band width measures volatility, and why touching a band is not a signal.

Time
5 min read
Level
Intermediate
Updated

In this lesson

  • Calculate Bollinger Bands from a moving average and a standard deviation.
  • Use band width to describe changes in volatility.
  • Explain why prices touching or riding a band is not by itself a signal.
  • Explain the statistical assumption behind the bands and why it often fails.

Builds on

On this page
  1. In simple terms
  2. A worked example
  3. Band width and volatility
  4. Touching a band is not a signal
  5. Using the bands sensibly
  6. Why it matters
  7. Limitations
  8. Common mistakes
  9. Try it yourself

In simple terms

Bollinger Bands, created by the analyst John Bollinger, draw an envelope around a moving average. The envelope widens when prices swing a lot and narrows when they are calm.

Bollinger Bands

middle band = 20-period simple moving average 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 spread out the recent prices are around their average, as the averages and volatility lesson explains.

A worked example

Worked example: A made-up share's bands

Tapti Fabrics' last 20 closing prices have an average of ₹210.35 and a standard deviation of ₹6.50.

Middle band₹210.35
Upper band: 210.35 + 2 × 6.50₹223.35
Lower band: 210.35 − 2 × 6.50₹197.35
Band width: (223.35 − 197.35) ÷ 210.35about 12.4%

If prices become calmer and the standard deviation falls to ₹3, the bands narrow to about ₹204 and ₹216, a width of about 5.7%.

Band width and volatility

Band width, the distance between the bands as a percentage of the middle band, is a simple measure of recent volatility. Wide bands follow large swings; narrow bands follow quiet periods.

A very narrow period is often called a squeeze. Volatility tends to change over time, so quiet periods are often followed by more active ones. But the squeeze does not tell you which direction the next move will take: prices can break out upward, downward, or stay quiet for longer.

Touching a band is not a signal

A popular idea is that a price touching the upper band is "too high" and should fall back, and one touching the lower band is "too low". This rests on a statistical idea: if price changes followed a normal distribution, about 95% of closes would fall inside two standard deviations of the average.

Two problems:

  1. Prices are not normally distributed. Large moves happen far more often than a normal distribution predicts, as the tail risk idea suggests. So prices leave the bands more often than "5% of the time".
  2. In trends, the bands follow the price. During a strong rise, closes cluster near the upper band, which itself keeps rising. Prices can "walk the band" for weeks.

Worked example: Walking the band

During a two-month rally, a made-up share, Neelgiri Software, closed at or above its upper Bollinger Band on 14 of 40 days, while rising 28%. Selling at each touch of the upper band would have meant selling into the whole rally.

In sideways markets, prices more often turn back from the bands, which is why some traders use band touches differently depending on whether the market is trending or ranging. Telling the two apart in real time is the difficult part.

Using the bands sensibly

  • As a volatility gauge: band width shows whether the market is calm or active.
  • As context for where the price sits relative to its recent range.
  • Not as automatic buy or sell signals.

Why it matters

Bollinger Bands are popular because they adapt to volatility, which fixed-percentage bands do not. Understanding the calculation, and the statistical assumption behind the "two standard deviations" idea, protects you from the common mistake of treating band touches as reversal signals.

Limitations

The bands depend on the period and the multiple chosen; the standard 20 and 2 are conventions. They lag, because they are built on a moving average and a backward-looking standard deviation. And their statistical interpretation assumes a normal distribution that price changes often do not follow.

Common mistakes

  • Selling every touch of the upper band.
  • Assuming 95% of prices stay inside the bands.
  • Predicting the direction of a breakout from a squeeze.
  • Forgetting that the bands lag.

Try it yourself

  1. Take 20 closing prices for any share and calculate their average and standard deviation in a spreadsheet.
  2. Calculate the upper and lower bands and the band width.
  3. On a charting tool, add Bollinger Bands to a daily chart and find a period of strong trend.
  4. Count how many closes touched or crossed the outer band during that trend.

Key takeaways

  • Bollinger Bands are a 20-period simple moving average with an upper and lower band two standard deviations above and below it.
  • The bands widen when prices become more volatile and narrow when they calm down. Band width is a measure of recent volatility.
  • In a strong trend, prices can ride along the upper or lower band for long periods. Touching a band is not a signal to sell or buy.
  • The idea that about 95% of prices fall inside two standard deviations assumes normally distributed price changes, which real markets often violate.
  • A narrow "squeeze" shows low recent volatility. It does not say which way the next move will go.

Check your understanding

A share's 20-day moving average is ₹210 and the standard deviation of its last 20 closes is ₹6. With the standard settings, where are the upper and lower bands?

Finished reading?

Your progress is saved only in this browser.

Terms used in this lesson

Bollinger Bands
A 20-period moving average with bands two standard deviations above and below it, widening and narrowing with volatility.
Standard deviation
A measure of how widely values are spread around their mean. For investment returns, it is the usual measure of volatility.
Volatility
How much and how quickly a price moves up and down. Highly volatile shares swing sharply in both directions.

Spotted a mistake or something unclear? Report it by email. Here is how corrections work.

This lesson is general education, not investment advice. Examples use made-up or clearly dated figures to explain ideas; they are not recommendations. Read the disclaimer.