What Are Bollinger Bands? How to Use Them in Trading

By Forex & Brokers DeskUpdated Nov 10, 2026

Bollinger Bands
Illustration · Fintrev

Definition

Bollinger Bands are a volatility indicator made of a 20-period simple moving average with bands two standard deviations above and below it, showing whether price is high or low relative to its recent behavior.

Key takeaways

  • Bands widen as volatility rises and narrow as markets calm, because they are built from standard deviation.
  • A band touch is not a buy or sell signal, since it can mean reversal in a range and continuation in a trend.
  • Bollinger suggested about 1.9 standard deviations for a 10-period setting and about 2.1 for a 50-period setting.
  • Platforms dividing by n or by n minus 1 can show slightly different band values with identical settings.

Bollinger Bands are a volatility indicator drawn as three lines on a price chart. The middle line is a simple moving average of price, usually 20 periods. The upper and lower lines sit a set number of standard deviations above and below it, usually two. Standard deviation measures how widely recent prices have spread around their average, so the bands move apart when the market becomes more volatile and move closer together when it calms down. The result is a moving frame that tells you whether the current price is high or low relative to its own recent behavior.

That last point is the one beginners miss most often. Bollinger Bands do not mark fixed support or resistance, and a price touching a band is not a buy or sell instruction. What a trader does with the reading depends on whether the market is trending or ranging, and the indicator alone cannot tell you which one you are in.

Who Created Bollinger Bands

John Bollinger, a market technician who holds the CFA and CMT designations, developed the bands in the early 1980s. He wanted to replace the fixed-percentage envelopes common at the time (lines drawn, for example, 3% above and below a moving average), which fit a quiet market but are far too tight in a volatile one. By using standard deviation, he made the envelope’s width respond to how much price was actually moving.

Bollinger set out his rules for the indicator in his book Bollinger on Bollinger Bands (2001). The name is a registered trademark, and the tool is now standard on most charting platforms.

How Bollinger Bands Are Calculated

The calculation has three parts, each recomputed on every new bar:

  • Middle band = SMA of the closing price over n periods
  • Upper band = Middle band + (k × standard deviation of the same n closes)
  • Lower band = Middle band − (k × that standard deviation)

Here n is the lookback period (20 by default) and k is the standard deviation multiplier (2 by default).

To calculate the standard deviation for one bar:

  1. Take the last n closing prices.
  2. Compute their average (this is the middle band).
  3. Subtract the average from each close to get the deviations.
  4. Square each deviation and add the squares together.
  5. Divide that sum by n to get the variance.
  6. Take the square root of the variance.

Bollinger’s own method divides by n (the population standard deviation) rather than n − 1 (the sample standard deviation). Some platforms use one, some the other, so two charts with identical settings can show slightly different band values. The difference is small at 20 periods but becomes more visible with short lookbacks.

A note on “periods”: the calculation works on whatever bars the chart shows. On a one-hour EUR/USD chart, 20 periods means the last 20 hourly closes; on a weekly chart, 20 weeks. Because forex trades around the clock five days a week, “20 days” and “20 periods” match only on a daily chart.

Worked example (hypothetical)

This example uses a 5-period lookback to keep the mechanics short. The method is identical for 20 periods.

Suppose a currency pair closes at these five prices:

Bar Close Deviation from average Deviation in pips Squared (pips²)
1 1.1000 −0.0020 −20 400
2 1.1020 0.0000 0 0
3 1.1010 −0.0010 −10 100
4 1.1040 +0.0020 +20 400
5 1.1030 +0.0010 +10 100

Step 1, middle band. The sum of the closes is 5.5100. Divided by 5, the average is 1.1020.

Step 2, variance. The squared deviations add up to 1,000 pips². Divided by 5 (population method), the variance is 200 pips².

Step 3, standard deviation. The square root of 200 is about 14.14 pips, or 0.001414.

Step 4, outer bands with k = 2. Two standard deviations equal about 28.3 pips.

  • Upper band = 1.1020 + 0.00283 ≈ 1.1048
  • Lower band = 1.1020 − 0.00283 ≈ 1.0992

The total distance between the bands is about 56.6 pips.

Had the same five closes been run with the sample method (dividing by 4), the variance would be 250 pips², the standard deviation about 15.81 pips, and each band about 3.3 pips further from the middle. That is the gap you may see between platforms.

Now imagine the next bar closes at 1.1060, well above the upper band. The oldest close (1.1000) drops out, 1.1060 enters, the average rises and the standard deviation increases, so the bands widen and shift upward on that very bar. This is why price that “breaks” a band often ends up only slightly outside it, or back inside, once the bar closes: the bands chase the price that pushed them.

Two Readings Derived From the Bands: %b and BandWidth

Bollinger introduced two companion measures that turn the visual picture into numbers. Many platforms offer them as separate indicators.

%b: where price sits inside the bands

%b = (Close − Lower band) ÷ (Upper band − Lower band)

  • %b of 1.0 means the close is exactly on the upper band.
  • %b of 0.5 means the close is on the middle band.
  • %b of 0 means the close is on the lower band.
  • Above 1.0 or below 0 means the close is outside the bands.

In the worked example, the fifth close of 1.1030 gives (1.1030 − 1.09917) ÷ 0.00566 ≈ 0.68, so price was in the upper part of the range but inside it. Measured against those same bands, a close at 1.1060 would give a %b of about 1.21, though as explained above the bands would recalculate on that bar.

%b lets you compare positions across instruments with very different prices and volatility, and it can be fed into rules or paired with an oscillator. Bollinger used it to spot a second low printed at a lower price than the first but at a higher %b, meaning it was less extreme relative to volatility.

BandWidth: how wide the bands are

BandWidth = (Upper band − Lower band) ÷ Middle band

In the example, 0.00566 ÷ 1.1020 ≈ 0.0051, or about 0.51%. On its own the number means little. Its use is relative: when BandWidth falls to its lowest level in a long lookback (Bollinger often referred to roughly six months of data), the bands are in a squeeze. Expressing width as a fraction of price lets you compare a squeeze on EUR/USD with one on a stock index or a crypto pair.

How to Read Bollinger Bands

Each line, and the space between them, carries a different piece of information.

The middle band: direction of the intermediate trend

The middle band is a 20-period simple moving average and reads like any moving average: rising suggests an uptrend, falling a downtrend, flat a range. In trends, pullbacks to the middle band are watched as places where the trend may resume; a decisive close through it against the trend is an early sign of weakening. Some platforms let you swap the SMA for an exponential moving average, though that departs from Bollinger’s standard construction.

The upper band: high relative to recent history

When price touches or closes above the upper band, it is trading at a statistically high level compared with the last 20 bars. Traders often call this overbought, but the term needs care. In a sideways market, an upper band touch is frequently followed by a drift back toward the middle band, and range traders use it as a selling zone or a profit target for longs. In a strong uptrend, price can stay at or above the upper band for many bars. Bollinger called this “walking the band” and treated it as a sign of strength, not a sell signal. A close above the upper band on rising volume can mark a breakout or an accelerating trend.

The lower band: low relative to recent history

When price reaches the lower band, it is trading low relative to its own recent range, given current volatility. That does not make it cheap in any absolute sense, and a bounce is not due. In a ranging market, lower band touches often precede a move back toward the middle band, and mean reversion traders treat the lower band as a buying zone. In a strong downtrend, price can walk down the lower band. A heavy-volume break below it, especially alongside other bearish signs, can signal a breakdown rather than a buying opportunity.

Band width: expansion and contraction

Expanding bands mean the standard deviation of recent closes is rising: price moves are larger than they were. Expansion typically follows news, central bank decisions, economic data releases or a sudden shift in sentiment. A sharp expansion out of a narrow range can mark the start of a sustained move. Later in a trend, the band on the opposite side of the move often turns back toward price; Bollinger noted that when a large expansion reverses, the trend in progress may be ending or pausing.

Contracting bands mean volatility is falling and price is consolidating, often because buyers and sellers are roughly balanced. Low-volatility phases tend to be followed by high-volatility ones, which is the logic behind the squeeze. A longer, tighter squeeze is often expected to precede a bigger move, but that is a tendency, not a rule, and the contraction says nothing about direction.

Bollinger Bands Trading Strategies

Most uses fall into a few families that contradict each other on the surface (one fades band touches, another buys them), so identifying market conditions first matters more than any rule.

1. The Bollinger Bounce (mean reversion)

The premise is that in a range, price tends to return toward its average after stretching to one side. A typical setup:

  1. Confirm a range: the middle band is roughly flat and price has been rotating between the bands.
  2. Wait for price to reach the lower band (for a long) or the upper band (for a short).
  3. Look for evidence the push is fading, such as a rejection candle or a momentum oscillator turning.
  4. Target the middle band first, and the opposite band as a stretch target.
  5. Place the stop beyond the recent swing low or high, outside the band.

The weakness is obvious: the same setup that works in a range loses repeatedly when a trend begins, because each “overbought” touch is followed by another one higher up. Pairing the bounce with an oscillator such as the Relative Strength Index (RSI) is common: an upper band touch while RSI is diverging lower is a stronger fade candidate than a touch with RSI making new highs.

2. The squeeze breakout

The squeeze approach treats unusually narrow bands as a coiled spring.

  1. Identify a squeeze: BandWidth at or near its lowest level over a long lookback.
  2. Wait for a close outside the band, ideally with rising volume.
  3. Enter in the direction of the break, with a stop on the other side of the consolidation or at the middle band.
  4. Manage the trade as a trend trade: trail the stop along the middle band or the band on the far side.

The classic trap is the head fake, Bollinger’s term for an initial break that quickly reverses into the real move the other way. Some traders wait for a retest of the broken level, or for volume or directional confirmation. Others use a narrower inner band, such as 0.5 or 1 standard deviation, as a confirmation line: a close beyond it suggests the move has force, and a close beyond the 2 standard deviation band confirms it further. This layered approach is a practitioner’s variation, not part of Bollinger’s original rules.

3. Trend riding with the bands

In a trend, the bands become a guide for staying in the move.

  • In an uptrend, closes between the middle and upper band keep the trend intact; pullbacks that hold at the middle band offer add-on or entry points.
  • A close below the middle band is an early warning; a close near or below the lower band suggests the trend has broken.
  • The mirror image applies to downtrends.

Some traders use a “double band” layout for this, plotting both 1 and 2 standard deviation bands. The zone between the 1 and 2 standard deviation bands on the trend side acts as the trend zone, and price drifting back inside the 1 standard deviation bands signals the trend has lost momentum.

4. W bottoms and M tops

Bollinger adapted classic double bottom and double top patterns to the bands.

  • W bottom: price makes a low that touches or breaks the lower band, bounces toward the middle band, then makes a second low that holds inside the lower band (higher %b, even if the price is slightly lower). A break above the bounce high confirms the pattern.
  • M top: price makes a high at or above the upper band, pulls back, then makes a second high that fails to reach the upper band. A break below the pullback low confirms it.

The bands add something the plain price pattern lacks: they show that the second extreme was less stretched relative to volatility, which is evidence the move is losing force.

Setting targets and stops

Whatever the strategy, the bands give natural reference levels. After a bounce off the lower band, the middle and upper bands are logical profit targets; after a fade from the upper band, the middle and lower bands are. Stops placed outside the bands widen automatically in volatile conditions, so they require smaller positions for the same cash risk; a position size calculator handles that conversion.

Bollinger Bands Settings

The default of 20 periods and 2 standard deviations is a reasonable starting point on most timeframes, and Bollinger has argued that it rarely needs changing by much. When it is changed, two things move together.

Lookback period. A shorter period (say 10) makes the middle band and the bands react faster, producing more touches and more signals, many of them noise. A longer period (say 50) produces smoother, slower bands that are touched less often and reflect a longer-term trend.

Standard deviation multiplier. Raising k pushes the bands further out so fewer prices reach them; lowering it brings them closer so more prices do. Bollinger has suggested adjusting the multiplier when the period changes, roughly 1.9 for a 10-period setting and 2.1 for a 50-period setting, so that the bands contain a similar share of price action.

Setting Typical effect Common use
10 periods, about 1.9 SD Fast, tight, frequent touches Short-term trading, lower timeframes
20 periods, 2 SD (default) Balanced General use on most timeframes
50 periods, about 2.1 SD Slow, wide, infrequent touches Longer-term trend context
20 periods, 1 SD Inner band; price outside it often Trend zone in a double-band layout
20 periods, 0.5 SD Very tight inner band Optional confirmation line for breakouts

Changing settings to make past signals look better is curve fitting: the parameters end up describing one stretch of history. Testing a setting across periods and instruments, or on a stock market simulator, gives a more honest picture.

The Statistics Behind the Bands, and Where They Break Down

The choice of 2 standard deviations comes from the normal distribution. In a normally distributed data set, about 68% of observations fall within 1 standard deviation of the mean and about 95% within 2. Applied to the bands, that would mean price stays inside them roughly 95% of the time, and a close outside is a statistically unusual event.

Financial prices do not follow a normal distribution closely. Returns have fat tails, so extreme moves happen more often than a bell curve predicts, and volatility clusters. As a result, the share of closes inside the bands varies by instrument, timeframe and period rather than holding at 95%. During a fat-tail event such as a surprise central bank decision or a currency peg removal, price can move far beyond the bands within a single bar, and the bands only widen afterward.

This is why Bollinger framed the bands as a relative definition of high and low, not as probabilities. Whether price at the upper band is too high depends on context the bands do not contain.

Limitations of Bollinger Bands

They lag. Both the moving average and the standard deviation are computed from past closes, so the bands react to price rather than forecast it, even though setups like the squeeze are used to anticipate moves.

Signals depend on market regime. A band touch can mean reversal in a range and continuation in a trend, and misreading the regime is the most common source of losing trades with the bands.

Squeezes are directionless, and head fakes are a recognized hazard.

Volatility spikes distort them. After a sudden large move, the standard deviation jumps and the bands balloon. For the next 20 bars, until that move drops out of the lookback, the bands may be too wide to produce useful touches, and then they can contract abruptly when the spike leaves the window.

Settings are not universal. The 20/2 default may fit one instrument and timeframe better than another, and volatile or gap-prone assets may behave differently around the bands than a liquid major pair.

Calculation details vary. Population versus sample standard deviation, and close versus another price input, can shift band values between platforms enough to change whether a bar counts as a touch.

How to Reduce False Signals

Bollinger’s own guidance was to combine the bands with indicators that measure something different, rather than with indicators that are themselves built from moving averages and volatility. In practice:

  • Add a momentum oscillator. RSI, the stochastic oscillator or MACD can show whether a band touch comes with strengthening or weakening momentum. A lower band touch with bullish divergence is a stronger reversal candidate than one with momentum still falling.
  • Check volume where it exists. In stocks and futures, a band break on rising volume carries more weight than one on thin volume. Spot forex has no centralized volume, so traders rely on broker tick volume, or on volume-weighted tools such as VWAP where available. That makes volume confirmation weaker in forex than in centralized markets.
  • Wait for a close. Intrabar pokes outside the bands are common and often reverse. Acting on the bar’s close filters many of them.
  • Adjust settings deliberately. A longer period or a higher multiplier leaves fewer, more significant touches, at the cost of later signals.
  • Use multiple timeframes. A lower band touch on an hourly chart means more if the daily chart’s middle band is rising than if it is falling.

Bollinger Bands vs. Similar Indicators

Several tools draw channels around price or measure volatility, and they are easy to confuse.

Keltner Channels. Also three lines, but the outer lines are set by a multiple of the average true range (ATR) around an exponential moving average. ATR measures the size of each bar’s range, including gaps, while standard deviation measures how spread out closes are around their mean. Keltner Channels are typically smoother and react less violently to a single large close. One well-known squeeze definition combines the two: when Bollinger Bands contract inside Keltner Channels, volatility is considered unusually compressed.

Moving average envelopes. Lines set a fixed percentage above and below a moving average. Their width never changes with volatility, which is exactly the problem Bollinger Bands were designed to solve.

Donchian Channels. The upper line is the highest high and the lower line the lowest low over n periods. They mark actual price extremes, not statistical distance, so a close above the upper Donchian line is by definition a new n-period high. They are a breakout tool rather than a volatility gauge.

Average True Range. A single line measuring volatility in price units, with no channel around price. The Average True Range is useful for sizing stops but gives no information about where price sits relative to its average.

Standard deviation indicator. Plots the standard deviation by itself. It contains the same volatility information as the band width but without the reference to price location.

Indicator Center line Outer line width set by Width changes with volatility?
Bollinger Bands SMA Standard deviation of closes Yes
Keltner Channels EMA Average true range Yes
MA envelopes Moving average Fixed percentage No
Donchian Channels Midpoint (optional) Highest high and lowest low Indirectly

Also keep clear that Bollinger Bands are an overlay on the price chart, while RSI, MACD and stochastics are oscillators in a separate pane. The bands compare price with its recent mean and volatility; RSI compares the size of recent up moves with recent down moves. When both agree, the reading is more informative than either alone.

The Bottom Line

Forex traders using Bollinger Bands need to identify whether the market is trending or ranging before acting on any band touch. The default 20 period, 2 standard deviation setting suits most timeframes, and pairing it with a momentum oscillator, waiting for a bar's close, and checking a higher timeframe filters many false signals. Spot forex lacks centralized volume, so volume confirmation carries less weight there than in stocks or futures.

About this page

Written by Forex & Brokers Desk

The Forex & Brokers Desk covers forex and CFD broker reviews, regulation checks, trading guides and the forex glossary.

Published
Last updated

Spotted an error? Tell the editors. This page is general information, not financial advice.