Back
Updated: September 11, 2026

What Are Bollinger Bands and How Do They Work?

bollinger_bands

Bollinger Bands are a volatility indicator plotted around price. The standard version uses a 20-period simple moving average as the middle band. The upper and lower bands sit two standard deviations above and below it.

The bands answer two useful questions:

  • Is the current price relatively high or low compared with its recent range?
  • Is recent volatility contracting or expanding?

They do not tell you that price must reverse at a band. They also do not predict the direction of the next breakout.

This is how I read the basic picture:

What the bands showWhat it means
Price touches the upper bandPrice is high relative to the previous 20 closes. It is not automatically a sell signal.
Price touches the lower bandPrice is low relative to the previous 20 closes. It is not automatically a buy signal.
Bands narrowRecent volatility has fallen. Direction is still unknown.
Bands widenRecent volatility is increasing.
Price repeatedly follows one bandA trend may be strong enough to keep price near that side of the envelope.

What the three Bollinger Bands measure

Middle band

The middle line is normally a 20-period simple moving average. It describes the average closing price over the selected window.

It is not a separate prediction line. If price rises, the average eventually rises with it. The same lag applies when price falls.

Upper band

The upper band is the middle band plus two standard deviations. It moves farther from the average when recent closes become more dispersed.

Lower band

The lower band is the middle band minus two standard deviations. Upper and lower bands use the same calculation, so they normally expand and contract together.

Middle band = 20-period SMA

Upper band = Middle band + (2 x 20-period standard deviation)

Lower band = Middle band - (2 x 20-period standard deviation)

The default settings are written as 20, 2: 20 periods and two standard deviations.

An upper-band touch is not a sell signal

The upper band shows that price is high relative to its recent average. It does not say that price is about to fall.

184.93168.06151.19134.32AAPL / 1DBOLLINGER BANDS (20, 2)5 closes above the upper band+12.2% after 20 sessionsOct 15Nov 1Nov 16Dec 1Dec 16172.26 184.93168.06151.19134.32AAPL / 1DBOLLINGER BANDS (20, 2)5 closes above band+12.2% after 20 sessionsOct 15Nov 16Dec 16172.26
AAPL daily: five consecutive closes finished above the upper band from November 17 to November 23. The first was 153.49. Twenty sessions later the close was 172.26, 12.2% higher.

AAPL closed above its upper Bollinger Band on November 17, 2021, at 153.49. Four more closes followed above the band. Twenty trading sessions after the first one, AAPL closed at 172.26, about 12.2% higher.

Selling only because price reached the upper band would have meant fighting the move. John Bollinger's own rules make the same distinction: a band tag is a tag, not a signal, and price can walk along a band during a trend.

When I see repeated upper-band tags, I check:

  1. Is price still making higher highs and higher lows?
  2. Is the middle band rising?
  3. Are pullbacks holding near or above the middle band?
  4. Is BandWidth expanding or at least staying elevated?

Before I treat the move as bearish, I want to see a failed breakout or a break of the latest higher low. The band touch alone is not enough.

The same logic applies in a downtrend. Price can keep following the lower band while the middle band slopes down.

What a Bollinger Band squeeze tells you

A squeeze happens when the bands contract. It shows that recent price variation is low relative to the same market's recent history.

1.38991.32241.25501.1875GBP/USD / 1DBOLLINGER BANDS (20, 2)Bands contracting into the squeezeFirst close below the lower bandBANDWIDTH (20, 2)10.15%01.46%9.06%BandWidth expanded 6.2xMar 15Mar 30Apr 17May 3May 191.2462 1.38991.32241.25501.1875GBP/USD / 1DBOLLINGER BANDS (20, 2)Bands contractingFirst close below bandBANDWIDTH (20, 2)10.15%01.46%9.06%6.2x widerMar 15Apr 17May 191.2462
GBP/USD daily: the bands contracted before BandWidth rose from 1.46% on April 21 to 9.06% on May 12. Price broke lower, but the squeeze itself did not choose that direction.

On April 21, 2022, the 20-period BandWidth for GBP/USD had fallen to 1.46%. The bands were close together. By May 12, BandWidth had reached 9.06%, roughly 6.2 times wider.

GBP/USD moved lower in this example. It closed at 1.3026 on April 21 and at 1.2462 on May 19, a decline of about 4.3%.

The squeeze identified compression. It did not predict a downside breakout. Direction only became visible after price left the range and started forming lower highs.

I do not use a universal BandWidth threshold. A 3% reading may be quiet for one asset and normal for another. I compare it with the same instrument and timeframe, usually over a fixed historical window.

How to use Bollinger Bands in trends and ranges

The same band touch can mean different things because the surrounding price structure is different.

In a trend

Price may spend more time between the middle and upper band during an uptrend, or between the middle and lower band during a downtrend.

In this environment, I use the bands to read trend position and volatility. A return toward the middle band may be a normal pullback. A close outside a band may show expanding momentum rather than exhaustion.

In a range

Band touches become more useful for mean-reversion ideas when price has already established horizontal boundaries.

In a range, I want three things to line up: an established horizontal boundary, a move through the band, and a close back inside both the band and the range. The rejection matters more than the touch. Its high or low also gives me a clear invalidation level.

If price holds outside the range while the bands expand, the mean-reversion idea is no longer valid. I do not keep fading the move because price remains near an outer band.

Bollinger BandWidth and %B

The three lines are the visible part of the indicator. Two derived values make the same information easier to compare.

BandWidth

BandWidth measures the distance between the upper and lower bands relative to the middle band.

BandWidth = (Upper band - Lower band) / Middle band

A falling value means the bands are contracting. A rising value means they are expanding. The lower panel in both charts above plots BandWidth as a percentage.

%B

%B describes where price sits inside or outside the bands.

%B = (Price - Lower band) / (Upper band - Lower band)
  • 1.0: price is at the upper band.
  • 0.5: price is at the middle band.
  • 0.0: price is at the lower band.
  • Above 1.0: price is above the upper band.
  • Below 0.0: price is below the lower band.

%B does not create a new signal. It converts the price's location into a number that can be logged and tested.

Bollinger Bands settings

SettingDefaultWhat it changes
Period20The number of candles used for the SMA and standard deviation.
Deviation2The distance of each outer band from the middle average.
Price sourceCloseThe data used in the calculation.

Shortening the period makes all three bands react faster. It also makes them more sensitive to ordinary price noise. Increasing the deviation moves the outer bands farther away and reduces the number of outside closes.

The period counts candles, not days. A 20-period setting covers 20 daily closes on a daily chart and 20 five-minute closes on a five-minute chart.

I start with 20 and 2 because they are the shared reference. I change them only when the complete trading rule can be tested on the intended instrument and timeframe. Adjusting the bands until they fit one historical chart is not a test.

My Bollinger Bands checklist

  1. Market structure: trend, range or compression?
  2. Band event: touch, outside close, squeeze or expansion?
  3. Middle band: rising, falling or flat?
  4. BandWidth: low, rising or already elevated relative to this market?
  5. Price evidence: breakout, rejection or no confirmation?
  6. Invalidation: which price level proves the idea wrong?
  7. Costs: is the expected move large enough after spread, fees and slippage?

I do not use the upper and lower bands as automatic buy and sell buttons. Their value is in showing where price sits relative to its recent average and how the market's volatility is changing.

Updated: Sep 11, 2026

Alexandre Raider

Alexandre has spent nearly 7 years working directly with traders on some of the most complex instruments available — binary options, digital options, leveraged positions. He has seen firsthand what happens when risk is misunderstood, and that experience shapes everything he writes. His focus is on the mechanics that matter most when real money is involved: margin, leverage, position sizing, and the specific rules that apply to derivatives trading.

Frequently asked questions

You asked, we answer

What are the best Bollinger Bands settings?

There is no universal best setting. The standard 20-period SMA with bands two standard deviations away is a practical starting point. Any change needs to be tested on the same market and timeframe where it will be used.

Are band touches buy or sell signals?

No. Strong trends can produce repeated touches and closes outside either band. A reversal idea still needs evidence from price and a defined invalidation level.

What does a Bollinger Band squeeze predict?

A squeeze shows low current volatility. It may precede a larger move, but it does not identify the direction or exact timing of that move.

Do two standard deviations contain 95% of prices?

That 95% rule assumes a normal distribution and independent observations. Market prices and rolling Bollinger Band samples do not meet those assumptions. John Bollinger advises against treating the bands as a formal 95% probability boundary.