PART VI · Chapter 43 · 252 / 660

Lesson 252. How do Bollinger Bands show volatility?

Chapter 43. Technical Indicators & Chart Patterns Explained

A share price rose from $10 to $11. Is that a big move?

It depends on how the stock usually moves. For a stock that moves only a few cents a day, that is a big change. For a stock that moves $1 every day, it is nothing special.

Bollinger Bands are lines that also show how widely recent prices have spread out from their average. You can use them to see where the share price stands compared with its recent movement.

Below, you calculate all three lines from four closing prices and see what changes in band width and price touches tell you.

The middle line and the lines above and below it

Bollinger Bands are made up of three lines. The middle line is a moving average of the closing prices over a set period. The closing price is the price at the end of regular trading on a given trading day.

The upper and lower lines sit a certain distance away from the middle line. That distance is set using a number called the standard deviation. Here, the standard deviation shows how far recent closing prices have been from their average. It gets smaller when prices cluster close to the average and larger when they spread far from it.

A common setup uses a 20-period simple moving average as the middle line and draws lines above and below it at twice the standard deviation. On a daily chart, this usually means the closing prices of the latest 20 trading days. Users can change the period and the multiple, so start by checking the chart's settings.

Calculating them yourself with four prices

To keep things simple, assume the closing prices on four hypothetical trading days are $9, $9, $11 and $11. This is an illustrative example, shorter than the 20-day setting commonly used in practice.

First, add the four prices and divide by 4. The average is $10. This average is the middle line.

Each price is $1 below or $1 above the average. To find the standard deviation, you first square each difference from the average. In this example, all four squared differences are 1. Their unit is "dollars squared," because squaring a dollar amount also squares its unit. Add them up and divide by 4, the number of prices, and you get 1 dollar squared. Take the square root of that, and the standard deviation is $1. A square root is the calculation that finds the value you had before squaring.

Adding twice the standard deviation, $2, to the average gives an upper line of $12. Subtracting $2 from the average gives a lower line of $8.

Bars show the four hypothetical closes of $9, $9, $11 and $11. Two range rows show the band from $8 to $12: in the first the dot marks the $10 average, the middle line; in the second it marks the last close of $11.

The last close, $11, is above the middle line of $10 but has not reached the upper line of $12. The figure shows the lines at one point in time, calculated from the information available up to the fourth close.

What changes when the space between the lines widens?

When recent closing prices spread far from their average, the standard deviation grows, and the space between the upper and lower lines widens. Conversely, when closing prices cluster near the average, the bands narrow.

However, the width of the bands is a number that shows how spread out the price levels were over the chosen period. It does not mean the same thing as the standard deviation of daily returns or the size of future losses. Even when a share price rises steadily in one direction, the bands can widen if recent prices spread far from their average.

Be careful, too, when you compare band widths across stocks with different prices. If you compare only band widths in dollars, a stock with a higher share price can look as if its bands are wider. Even for the same stock, a comparison means more when the period and the multiple are set the same way.

Should you sell when the price touches the upper line?

Touching the upper line does not mean you have to sell. When a share price rises strongly, it can keep climbing along the upper line or move above it. Likewise, the price can keep falling even after it touches the lower line.

Nor does the price always stay inside the bands. The upper and lower lines are not walls that stop prices; they are reference lines calculated from recent prices. Using twice the standard deviation does not fix the probability that future prices will stay between the lines.

When the bands narrow, you cannot know the direction in advance either. They may stay narrow for a while, or the price may later make a big move up or down.

What else to check when you use them in practice

When you see Bollinger Bands on a chart, first check the period, the multiple, and whether it is a daily or a weekly chart. Then, rather than looking only at whether the price touched a line, also look at the trend and volume you learned about earlier. Check too whether an earnings release or important news about the company is scheduled.

For example, instead of selling automatically because the price moved above the upper line, check whether the uptrend is holding and whether your reasons for investing have changed. If you decide to buy or sell, think in advance about what you will do if you turn out to be wrong and how much loss you can bear.

When the closing prices used in the calculation change, the positions of all three lines change too. The $12 calculated in the hypothetical example above is not a price that stays fixed the next day. Bollinger Bands are a tool that supports your judgment, not a trading rule that guarantees profits.

In Lesson 253, you learn about ATR, which looks at how much the price moved in a day, and see how to use it when planning position size and risk. First, calculate the three lines using different closing prices in the problem below.

Try it yourself

Problem 1

This is a hypothetical case using only four closing prices, as in the lesson above. The closing prices on four trading days were $23, $29, $31 and $37. Calculate the middle line and standard deviation, and find the upper and lower lines using twice the standard deviation. Divide by 4, the number of prices, when calculating the standard deviation, just as in the lesson. Did the last close of $37 reach the upper line? How wide in dollars is the space between the upper and lower lines?

Answer 1

The middle line is the average of the four closes: (23 + 29 + 31 + 37) ÷ 4 = 120 ÷ 4 = $30. The differences from the average are −$7, −$1, $1 and $7, and their squares are 49, 1, 1 and 49. Adding them gives 100; dividing by 4 gives 25 dollars squared, and taking the square root gives a standard deviation of $5. The upper line is average + 2 × standard deviation = 30 + 10 = $40, and the lower line is 30 − 10 = $20. The last close of $37 is $7 above the middle line, but it has not reached the upper line of $40. The width is 40 − 20 = $20, which is four times the standard deviation. Because the average and standard deviation are recalculated when the next close arrives, $40 and $20 are the lines only at this point in time.