Skip to content
FXLists
Find my broker
Technical Analysis

What Are Bollinger Bands? Meaning, Calculation, and Trading Examples

Understand how Bollinger Bands work, calculate the 20,2 bands, and interpret EUR/USD price action with practical forex examples.

Reading time
12 min read
Sections
10
Last updated
19 Nov 2026
Illustrative EUR/USD price chart showing the middle moving average and upper and lower Bollinger Bands.

Bollinger Bands are a technical analysis indicator that helps traders compare the current price with its recent average and see how widely recent closing prices have varied around that average. On a chart, the indicator appears as three lines: a moving average in the middle and two outer bands that move farther apart or closer together as volatility changes.

Traders use Bollinger Bands to put price movements in context. A currency pair trading near its upper band is relatively high compared with its recent prices; one near its lower band is relatively low. Neither position tells you, on its own, whether the price will reverse next.

This guide explains what Bollinger Bands mean, how the calculation works, and how to interpret common situations using hypothetical forex trading examples.

Key Takeaways

  • Three lines: Traditional Bollinger Bands use a 20-period simple moving average (SMA) and an upper and lower band set two standard deviations away.
  • Changing width: Wide bands reflect higher recent price volatility; narrow bands reflect lower volatility.
  • Relative price, not a prediction: An upper-band touch is not automatically a sell signal, and a lower-band touch is not automatically a buy signal.
  • Market context matters: The same band touch can mean something different in a sideways range and a strong trend.
  • Risk comes first: A trading idea still needs a separate entry rule, an invalidation level, sensible position sizing, and allowance for trading costs.

What Are Bollinger Bands in Trading?

Developed by technical analyst John Bollinger in the early 1980s, Bollinger Bands are volatility-based price envelopes. Unlike fixed-price boundaries, the outer bands adjust as the dispersion of recent prices changes.

The indicator answers two useful questions:

  1. Where is the current price relative to its recent average? A price close to the upper band is comparatively high; a price close to the lower band is comparatively low.
  2. How variable have recent prices been? Bands that move apart show rising measured volatility. Bands that move together show falling measured volatility.

Bollinger Bands can be applied to forex, stocks, indexes, commodities, and other instruments with a usable price history. What changes is the market structure, trading session, and the meaning of a chart's timeframe—not the basic calculation.

The Three Bollinger Band Lines

Line How it is calculated What it tells traders
Middle band Usually a 20-period SMA The average closing price over the selected lookback period
Upper band Middle band + 2 standard deviations A relatively high price level based on recent prices and volatility
Lower band Middle band − 2 standard deviations A relatively low price level based on recent prices and volatility
Bollinger Bands on an illustrative EUR/USD price chartA synthetic EUR/USD line chart with a 20-period moving average and upper and lower bands two standard deviations from the average. The bands are comparatively narrow on the left and widen toward the right as price movements become larger.Bollinger Bands (20, 2) — illustrative EUR/USD1.08401.08601.08801.0900Lower volatilityHigher volatilitySynthetic prices · Not a live trading signalPrice20-bar SMABands
Illustrative chart using synthetic prices and a 20-period, two-standard-deviation calculation. It is not live market data or a trading recommendation.

The middle line follows the prevailing direction of the recent average. The outer bands are calculated from that same price window, so they can expand during abrupt moves and contract when prices become more tightly clustered.

How to Calculate Bollinger Bands

The standard setting is often written as Bollinger Bands (20, 2):

  • 20 is the lookback length, measured in chart bars. Confirmed end-of-bar readings use 20 completed bars.
  • 2 is the number of standard deviations used to position each outer band around the average.

A period is a bar on your selected chart. On a daily chart, 20 periods means 20 daily bars; on a 1-hour chart, it means 20 hourly bars. Many charting platforms update the bands during the open bar as its price changes, so use completed bars when comparing confirmed readings.

Bollinger Bands Formula

For a lookback of n bars and a standard-deviation multiplier of k:

Middle band = SMA(n) = sum of the last n closing prices ÷ n

Standard deviation = √[sum of (each close − SMA)² ÷ n]

Upper band = SMA(n) + (k × standard deviation)

Lower band = SMA(n) − (k × standard deviation)

These formulas show the population-standard-deviation convention for the selected price window. Both the SMA and standard deviation use the same closing prices, with standard deviation measuring their dispersion around the SMA. Some platforms offer different calculation methods or moving-average types, so check the indicator settings when comparing charts.

Step-by-Step EUR/USD Calculation Example

Suppose the last 20 closing prices on a EUR/USD chart produce the following values:

Item Hypothetical value
20-period simple moving average 1.0850
Standard deviation of those closes 0.0020 (20 pips)
Standard-deviation multiplier 2
Upper band 1.0850 + (2 × 0.0020) = 1.0890
Middle band 1.0850
Lower band 1.0850 − (2 × 0.0020) = 1.0810

For EUR/USD, one pip is usually 0.0001. In this example, the upper and lower bands are each 40 pips from the middle band, and 80 pips apart from one another.

Those values describe the current calculation, not permanent support or resistance levels. On a confirmed-bar chart, the oldest close leaves the 20-bar window when the next bar finishes, and the new close enters it. The average and standard deviation are then recalculated.

How Bollinger Bands are calculatedA compact flow diagram showing the same 20 recent closes used to calculate a 20-period simple moving average and the standard deviation around it, which together produce the upper, middle, and lower bands for a hypothetical EUR/USD example.How the Bollinger Bands (20, 2) calculation worksIllustrative EUR/USD example · Both calculations use the same closes20 recent closesSample: 1.0825, 1.0868… and 18 more closes20 completed barsWindow advances each bar20-period SMA1.0850Middle bandStd. deviation0.002020 pipsUpper band1.0890Middle band1.0850Lower band1.0810Formula summary: Upper = SMA + (2 × SD) · Lower = SMA − (2 × SD) · Values are hypothetical and not trading signals
Both calculations use the same 20 closes: the SMA measures their average, and standard deviation measures dispersion around it. The values are hypothetical.

What Do Bollinger Bands Tell You?

Bollinger Bands provide a way to read both relative price position and recent volatility. The meaning depends on whether the market is ranging, trending, or shifting between those conditions.

Two related measures add precision: BandWidth = (upper band − lower band) ÷ middle band measures relative band width, while %b = (price − lower band) ÷ (upper band − lower band) locates price within or beyond the bands (0 at the lower band, 0.5 at the middle, and 1 at the upper). Using the EUR/USD figures above, BandWidth is about 0.74%, and a price of 1.0815 gives a %b value of 0.0625. Both describe conditions rather than predict trades.

Price Near the Upper Bollinger Band

A price near the upper band is high relative to its recent average and variability. In a sideways market, traders may watch for evidence of a rejection or a move back toward the middle band. In an established uptrend, however, price can remain close to the upper band for many bars.

Price Near the Lower Bollinger Band

A price near the lower band is low relative to the same recent window. It may draw attention to a potential rebound in a range, but it can also signal persistent weakness in a downtrend.

What It Means When Bollinger Bands Narrow

When the two outer bands move closer together, the standard deviation of recent prices has fallen. Traders often call an unusually narrow configuration a Bollinger Band squeeze.

A squeeze describes a period of reduced volatility; it does not predict whether the next significant move will be upward or downward. A breakout can also fail and return to the prior range.

What It Means When Bollinger Bands Widen

When the bands spread farther apart, recent closing prices are more dispersed around their moving average. This can happen during sustained trends, volatile reversals, and reactions to major economic news. Wider bands do not, by themselves, forecast direction.

Narrow versus wide Bollinger BandsTwo simplified charts compare narrow Bollinger Bands during low volatility with wider Bollinger Bands during higher volatility.Narrow vs. wide Bollinger BandsSame indicator, different volatility conditionsNarrow bandsLow recent volatility · often called a squeezeBands sit closer together because prices are clustered.Wide bandsHigher recent volatilityBands spread out as price swings become larger.Illustrative only · Narrow bands do not predict breakout direction; wide bands do not predict trend direction
The left panel shows a low-volatility squeeze; the right panel shows wider bands after volatility expands. In both cases, the bands describe volatility rather than forecast direction.

What Does It Mean to “Walk the Bands”?

In a persistent uptrend, successive prices may stay near the upper band. In a persistent downtrend, they may stay near the lower band. This is often described as walking the bands.

It is one reason the simple rule “sell the upper band and buy the lower band” is unreliable. Strong trends can continue long after the first band touch.

Band touch versus walking the bandsTwo simplified charts compare a single upper-band touch in a range with repeated upper-band touches in a strong uptrend, illustrating why a band touch alone is not an automatic sell signal.A band touch is not always a reversal signalCompare a range-bound touch with “walking the bands” in a strong trendSingle upper-band touch in a rangeTouch, then pullbackA range touch can precede a pullback.Walking the upper band in an uptrendTrend continuationTouches may continue in an uptrend.Illustrative only · Interpretation depends on overall market structure and confirmation, not the touch itself
An upper-band touch can precede a pullback in a range, but repeated touches can also signal trend strength. Context matters more than the touch itself.

Bollinger Bands Trading Examples

The following setups are hypothetical teaching examples, not backtested strategies or live trading signals. They show how to reason about Bollinger Bands in different market conditions.

Example 1: A Potential Rebound in a Sideways EUR/USD Market

Assume EUR/USD has been trading within a well-defined range. The middle band is approximately 1.0850, the lower band is around 1.0810, and the upper band is near 1.0890. Suppose earlier swing lows also establish range support around 1.0810; this support is identified from price action, not from the lower band itself.

Price tests that support area and rebounds. A trader considering a mean-reversion idea might define the following hypothetical, conditional plan:

  1. Confirmation: Wait for a candle to reject the support area and close back above 1.0815. A rejection means price probes lower levels but closes back within the established range.
  2. Possible entry: Consider a buy limit at 1.0815 on a later retest, only if the range remains intact. The order might never fill.
  3. Invalidation: Use an illustrative stop at 1.0805, below the independently identified support, rather than placing a stop mechanically at a Bollinger Band.
  4. Target and risk: A possible exit near the 1.0850 middle band gives 35 pips of gross reward versus 10 pips of gross risk, or a 3.5:1 gross reward-to-risk ratio before spread, commission, and slippage. Position size would depend on the allowed monetary loss.

If price breaks the established range before entry, or trading costs make the expected reward unattractive, the trader can stand aside. The setup depends on support and confirmation, not the lower band holding as a fixed boundary.

Example 2: Price Breaks Above the Upper Band

Now assume EUR/USD is rising steadily, and the upper band is at 1.0890. A candle closes at 1.0895.

That close above the upper band may reflect an expanding upward move. A trader would examine the overall trend, nearby resistance, the strength of the close, and whether subsequent bars maintain or reject the breakout.

A quick return inside the bands and below broken resistance may weaken the continuation case. Repeated strong closes near the upper band, alongside higher swing lows, are more consistent with an ongoing trend.

Example 3: Narrow Bands Before a Volatile Move

Imagine EUR/USD trading in a tight range while both outer bands contract. The chart indicates that recent volatility has fallen, but not which direction comes next.

A trader can mark the range's actual high and low, then watch how price behaves if it breaks either boundary. A convincing close, follow-through, and the absence of an immediate reversal provide more information than the squeeze alone. A false breakout remains possible, particularly around scheduled economic releases.

Bollinger Bands EUR/USD range-rebound teaching exampleHypothetical EUR/USD prices pull back toward the lower band near 1.0810 and recover toward the middle band at 1.0850. Three markers indicate a conditional entry at 1.0815, an illustrative stop at 1.0805 below support identified from prior swings, and a possible target near 1.0850. All figures are hypothetical.Hypothetical EUR/USD range reboundBands use illustrative values: upper 1.0890 · middle 1.0850 · lower 1.08101.08901.08501.08101231 · Entry ideaNear 1.08152 · Stop / invalidation1.0805 below support3 · Target areaNear 1.0850Illustrative only · Actual band levels change as new bars close
This conditional range-rebound example assumes separate price-action support, an entry at 1.0815 if filled, a stop at 1.0805, and a target near 1.0850. The risk and reward figures exclude trading costs.

How to Use Bollinger Bands on a Forex Chart

A practical reading process starts with the chart rather than a band-touch rule.

  1. Select the instrument and timeframe. A 20-period indicator on a 5-minute EUR/USD chart analyzes a different window from the same settings on a daily chart.
  2. Begin with the standard (20, 2) setting. Treat it as a reference point, not a universally optimal configuration.
  3. Identify the market condition. Is price moving sideways, maintaining a trend, or becoming unusually quiet?
  4. Compare price with the three bands. Note the price's location and whether band width is contracting or expanding.
  5. Check independent evidence. Relevant swing highs and lows, scheduled news, and an appropriately chosen momentum or market-structure tool can help assess an idea.
  6. Define the risk before entering. Specify what would invalidate the idea, calculate the potential loss, and check whether the expected reward is reasonable after costs.

For example, a rejection candle tests support or resistance but closes back inside the prior range; follow-through means subsequent price action continues in the proposed direction. Neither observation guarantees the trade will work.

Stop placement, leverage, and position sizing should be considered together so that potential losses remain consistent with a defined risk plan.

What Are the Best Bollinger Bands Settings?

The conventional starting point is 20 periods and two standard deviations. It is widely used because it offers a consistent baseline for comparing different charts, not because it is guaranteed to perform best.

A shorter lookback makes the calculation respond more quickly to recent changes, while a longer lookback generally smooths the center line. Adjusting the standard-deviation multiplier also changes how often price reaches or crosses the outer bands. When adjusting the lookback substantially, traders may also adjust the multiplier—for example, to 1.9 for 10 periods or 2.1 for 50 periods. These are reference settings, not universally better choices.

There is no single best setting for every forex pair, timeframe, or trading method. A setting that looks attractive on a handful of historical examples may perform poorly after spreads, commissions, and changing market conditions are considered. Test any alternative using the same rules across a sufficiently broad sample.

Limitations and Common Mistakes

Bollinger Bands are useful for describing price, but their limits matter as much as their formulas.

Common mistake Why it matters
Buying every lower-band touch Price can continue declining along the lower band in a downtrend.
Selling every upper-band touch Price can keep advancing near the upper band in an uptrend.
Treating narrow bands as a bullish forecast Low volatility alone says nothing reliable about breakout direction.
Treating the bands as fixed support and resistance Their levels are recalculated as new prices enter the window.
Assuming 95% of prices must stay inside the bands Financial prices are not normally distributed, and the bands are estimated from a changing sample.
Ignoring spreads, slippage, and news Actual trade results can differ sharply from a visually attractive chart setup.

The indicator uses historical prices, so it is descriptive and reactive rather than predictive. It does not measure trade volume, macroeconomic conditions, or market liquidity by itself.

Final Thoughts

The standard 20-period, two-standard-deviation setup offers a straightforward view of relative price position and the spread of recent closing prices. Interpreting those readings requires identifying the market condition first.

For any potential setup, check the price structure, define the confirmation and invalidation levels, and assess the reward relative to risk after trading costs. The indicator provides context; the trading plan must supply the decision rules.

Risk notice: Forex and CFD trading, especially with leverage, can lead to substantial losses and may not be suitable for all investors. This article is educational and does not constitute personalized financial advice.

FAQs

6 questions
What Does a Bollinger Band Tell You?

It tells you whether the current price is relatively high or low compared with a recent moving average, while the distance between the outer bands shows how volatile recent prices have been.

What Does Bollinger Bands (20, 2) Mean?

It means the middle band is calculated from 20 chart periods, and the upper and lower bands are set two standard deviations above and below that average.

Are Bollinger Bands Accurate or Reliable?

They reliably calculate the relationship defined by their formula when the inputs and settings are known. That does not make them accurate predictors of the next price move. The reliability of a trading strategy must be evaluated separately through consistent testing and realistic costs.

Can You Use Bollinger Bands for Forex and Stocks?

Yes. The indicator can be applied to both, as well as to other traded markets. Forex quotes, trading sessions, stock-market gaps, and liquidity conditions differ, so identical settings do not imply identical trading outcomes.

When Should You Buy or Sell Using Bollinger Bands?

There is no automatic buy or sell point. A band touch or breakout is one piece of information. A decision should depend on a clearly defined strategy, market context, confirmation criteria, and risk management.

What Happens When Bollinger Bands Get Tight?

The recent dispersion of closing prices has decreased. Traders may watch for a later expansion in volatility, but the bands themselves do not establish the timing or direction of the next move.

Editorial Team Top Picks

  1. FXGlory Review FXGlory
  2. ActivTrades Review ActivTrades
  3. Capitalcore Review Capitalcore
  4. Eightcap Review Eightcap
  5. UnitedPips Review UnitedPips

Comments

No reader reviews yet

Be the first to leave a review. Your experience helps other traders compare with real accounts, not just marketing.

Write the first review

Leave Your Comment

Your score

Start Comparing

Find the Broker That Fits How You Trade

Answer a few questions and we will match you with brokers suited to your goals, or compare your own shortlist side by side.

Find My Matches