Indicators & tools

ATR and Bollinger Bands on Gold: Volatility-Based Stops, Squeezes and Position Sizing

Gold's volatility changes from week to week, and a stop that was sensible last month can be noise today. This guide shows how to measure volatility with ATR and Bollinger Bands, set stops and targets from it, and size positions so your risk stays constant when gold speeds up or slows down.

IntermediateIndicators & toolsLesson 21 of 41

What ATR and Bollinger Bands are

Both tools measure volatility: how much price is moving. They answer different questions.

Average True Range (ATR) was developed by J. Welles Wilder. It measures the average size of each candle’s range, including gaps. The standard setting is ATR(14).

  1. For each candle, find the true range: the largest of (high − low), (high − previous close) and (previous close − low).
  2. Average the true range over 14 candles, using Wilder’s smoothing.

ATR is in price units. An H1 ATR of 8 on gold means the average hourly true range has recently been about $8. ATR has no direction; it only tells you how big the moves are.

Bollinger Bands were developed by John Bollinger in the 1980s. The standard setting is 20/2:

  • Middle band: 20-period simple moving average.
  • Upper band: middle band + 2 standard deviations of the last 20 closes.
  • Lower band: middle band − 2 standard deviations.

When volatility rises, the bands widen. When it falls, they narrow. Bollinger Bands show both volatility and where price sits relative to its recent average.

Tool Measures Direction? Main uses
ATR(14) Average candle range, including gaps No Stops, targets, position sizing, regime reading
Bollinger Bands 20/2 Spread of closes around a 20 SMA Partly (via middle band slope and price location) Squeezes, band walks, mean reversion, breakouts

Volatility tools don’t predict direction. Their job is to tell you how much room price normally needs, so your stops, targets and size match the market you’re actually trading.

How it behaves on gold (XAUUSD)

  • Volatility clusters. Gold tends to have calm stretches followed by active ones. ATR rises and stays high for a while after big moves, then slowly declines.
  • Session rhythm. Intraday ATR is usually lowest in the late Asian session and highest around the London open (around 03:00 New York time, 08:00 London time) and the New York open, especially near 8:30 New York data releases.
  • News expansion. CPI, NFP and Fed decisions can produce a single candle several times the normal ATR. One huge candle lifts ATR(14) for the next 14 candles, even if conditions calm down. See trading gold on NFP day.
  • Squeezes before events. Bollinger Bands often narrow in the hours before a major release as traders wait. The squeeze is real, but the breakout direction is decided by the data, not the chart.
  • Band walks in trends. When gold trends strongly, it can close near or outside the upper (or lower) band for many candles in a row.
  • Weekend and holiday gaps. Gold trades from Sunday 18:00 to Friday 17:00 New York time. Gaps at the Sunday open are counted in true range, so ATR captures them while a simple high-minus-low range would not.

Volatility regimes

Regime ATR behavior Bollinger behavior Tactics many traders favor
Quiet / compressed Low and falling Narrow bands (squeeze) Smaller targets, range tactics, prepare for breakout
Normal trending Steady Bands open, middle band sloped Trend pullbacks; trail stops in ATR multiples
Expanding / news-driven Rising fast Bands widening sharply Smaller size, wider stops, or stand aside
Exhaustion Very high, starting to fall Price snaps back inside bands Caution with new trend entries; mean reversion possible

How to calculate and apply them

Using ATR for stops, targets and size

  1. Read ATR(14) on your setup timeframe. For an H1 setup, use H1 ATR.
  2. Find your structural invalidation. Where is the idea clearly wrong? A swing low, a zone edge, a structure point.
  3. Add an ATR buffer. Many traders add 0.25–0.5 ATR beyond the structure point so normal noise doesn’t hit the stop. Others use a pure ATR stop of 1–2 ATR from entry.
  4. Set targets in ATR terms. Compare targets with ATR. A target 0.5 ATR away is barely worth the spread; a target 5 ATR away on an intraday trade may be unrealistic.
  5. Size from the stop. Position size = dollar risk ÷ stop distance. With 0.01 lot = $1 per $1 move: lots = (dollar risk ÷ stop in dollars) × 0.01.

Using Bollinger Bands

  1. Add Bollinger Bands (20, 2) using closing prices.
  2. Check the middle band slope. Rising: bullish bias. Flat: range. Falling: bearish bias.
  3. Check bandwidth. Are the bands at their narrowest in a while (squeeze) or widening (expansion)?
  4. Check price location. Riding one band (walk), or swinging between bands (range)?
  5. Decide the regime: mean reversion if flat and ranging, breakout or trend-following if expanding.
Hypothetical Bollinger squeeze and upside band walk on gold4,188.64,176.44,164.24,152.14,139.94,127.74,115.5SQUEEZE: BANDS NARROWBreakout closeBand walkHYPOTHETICAL DATA · ILLUSTRATION ONLY · NOT A REAL XAUUSD CHART
Hypothetical Bollinger squeeze and upside band walk on gold. The gold zone marks a tight range where the bands would be narrow. After a breakout close, price rides higher; the cyan arrow is a simplified stand-in for an upper band rising with price. Hypothetical data; no bands are plotted.

Keltner Channels and the squeeze

Keltner Channels are bands drawn around an EMA (often 20) at a multiple of ATR (commonly 1.5 or 2). They’re smoother than Bollinger Bands because ATR changes more slowly than standard deviation.

A popular squeeze definition, associated with trader John Carter, says a squeeze is on when Bollinger Bands move inside Keltner Channels. That means the standard deviation of closes has shrunk relative to the average range. When the Bollinger Bands expand back outside the Keltner Channels, the squeeze has “fired”. It’s still a direction-neutral signal.

Variations and settings: from beginner to pro

Beginner approach

  • Use ATR(14) to check that your stop is wider than normal noise, at least about 1 ATR on your timeframe.
  • Use Bollinger Bands 20/2 only to identify squeezes and to avoid fading strong band walks.
  • Size every trade from the stop distance.

Intermediate refinements

  • Combine structure and ATR: stop beyond the swing low plus 0.25–0.5 ATR.
  • Use ATR multiples to judge whether targets are realistic.
  • In ranges with a flat middle band, consider fading band touches back toward the middle band, but only with a structure-based stop.

Pro refinements

  • Higher-timeframe ATR as a daily budget. If daily ATR is $40 and gold has already moved $38 from the day’s low by mid-session, chasing further is a lower-probability bet. Not impossible, but less likely.
  • ATR trailing stops. Trailing at 2–3 ATR below the highest close (a chandelier-style exit) lets trends run while defining exits objectively.
  • Volatility-adjusted risk. Some traders reduce their risk percentage when ATR is unusually high, not just their lot size. Extreme volatility often comes with wider spreads and slippage.
  • Bandwidth history. Pros compare current bandwidth with its range over the past few months. A squeeze is relative, not absolute.

3 setups traders use

Setup 1: Squeeze breakout with retest

Element Rule
Context H1 Bollinger Bands at their narrowest in weeks; price in a tight range; optional Bollinger-inside-Keltner squeeze
Trigger An H1 candle closes outside the range and outside the band, with bandwidth starting to expand
Entry On a retest of the range edge that holds, as in a breakout and retest
Stop (invalidation) Back inside the range, beyond the retest low, plus 0.25 ATR
Targets The range height projected from the breakout, then 3 ATR
Management Trail under higher lows or at 2 ATR once price walks the band

Setup 2: Range mean reversion to the middle band

Element Rule
Context Flat middle band; price swinging between the bands; no major news due
Trigger Price touches or pierces the lower band at a support zone and closes back inside
Entry On the close back inside the bands
Stop (invalidation) Below the touch low plus 0.5 ATR
Targets The middle band first, then the opposite band
Management Exit if the middle band starts sloping down hard or the bands widen against you

This is a classic mean reversion approach. It suits ranges and fails in trends.

Setup 3: Band-walk pullback in a trend

Element Rule
Context Strong trend; price has walked the upper band for several candles; middle band rising
Trigger Price pulls back to the middle band (20 SMA) and holds, with a bullish close
Entry On the confirmation close
Stop (invalidation) Below the pullback low plus 0.25–0.5 ATR
Targets A retest of the upper band and the prior high, then a trailing stop
Management If price closes below the lower band, the trend phase is likely over
Hypothetical ATR-based stop and target on gold4,181.04,172.94,164.94,156.84,148.84,140.84,132.7Entry 4,148Stop: 1.5 × ATRTarget: 3 × ATRHigher lowHYPOTHETICAL DATA · ILLUSTRATION ONLY · NOT A REAL XAUUSD CHART
Hypothetical ATR-based stop and target on gold. With a hypothetical H1 ATR of $8, the stop sits 1.5 ATR ($12) below entry and the first target 3 ATR ($24) above it. Hypothetical data.

Worked example (hypothetical)

Hypothetical H1 example. Gold is trending up. H1 ATR(14) is $8. Price pulls back to 4,146, forms a higher low at the middle Bollinger Band, and an M15 candle closes back up. The trader enters long at 4,148.

Stop. 1.5 × ATR = $12, so the stop is at 4,136. This also sits below the higher low at 4,146 with room for noise.

Target. 3 × ATR = $24, so the first target is 4,172, close to the prior high. That’s 2R.

Position size. Account $10,000, risk 1% = $100. With 0.01 lot = $1 per $1 move, size = 100 ÷ 12 = 8.3, so 0.08 lots ($96 risk).

Same trade in a high-volatility week. Suppose ATR is $16 instead. A 1.5 ATR stop is $24. Size = 100 ÷ 24 = 4.2, so 0.04 lots ($96 risk). The dollar risk stays the same, but the position halves. That’s the core benefit of ATR sizing.

This is an illustration of the process, not a trade idea.

ATR describes recent volatility, not future volatility. A news release can produce a move many times the ATR in seconds, and stops can fill with slippage beyond your price. Don’t treat an ATR stop as a guaranteed maximum loss. Read risk management in volatile gold markets.

Combining it with other concepts

  • Risk management. ATR is the bridge between your stop and your size. See XAUUSD risk management and the position size calculator.
  • Market structure. Use structure for where the stop logically goes, ATR for how much buffer to add. See market structure.
  • Moving averages. The middle Bollinger Band is a 20 SMA; band-walk pullbacks often overlap with 21 EMA pullbacks. See moving averages on gold.
  • RSI. A lower-band touch with bullish RSI divergence is a common mean-reversion combination. See RSI divergence.
  • Asian range breakouts. Narrow Asian ranges often appear as squeezes on M15 charts before London. See Asian range breakout.
  • Expectancy. ATR-based targets and stops make it easier to calculate and compare R-multiples. See trading math and expectancy.

Best timeframes and sessions

Timeframe Use
Daily Daily ATR as a “range budget”; regime reading; swing stops
H4 / H1 Main setup timeframes for stops, targets, squeezes and band walks
M15 Squeezes before session opens; entry timing
M1–M5 ATR is useful for scalping stops, but bands are very noisy

Volatility is session-dependent. Squeezes often form in the late Asian session and resolve near the London open (around 03:00 New York time) or at the 8:30 New York data window. Compare ATR with the same session on previous days, not with a quiet overnight period. See gold trading hours worldwide.

Common mistakes

  • Fixed dollar stops in all conditions. Fix: scale stops with ATR so they match current volatility.
  • Keeping the same lot size when ATR doubles. Fix: recalculate size from the stop every trade.
  • Fading band walks. Fix: check the middle band slope; don’t short a rising band walk on touches alone.
  • Trading squeezes before the news. Fix: the squeeze doesn’t tell you direction; wait for the release and the post-news structure.
  • Using the wrong timeframe’s ATR. Fix: use ATR from the timeframe you trade and manage on.
  • Assuming ATR caps the loss. Fix: account for gaps and slippage, especially around news and Sunday opens.

Limitations and honest caveats

  • Both tools are backward-looking. They describe what volatility has been, not what it will be.
  • Squeezes are direction-neutral. Many squeezes produce a false break first, then move the other way.
  • Bollinger Bands aren’t probability guarantees. The 2-deviation bands are sometimes described as containing about 95% of prices, but that assumes a normal distribution. Gold’s returns have fatter tails, so moves outside the bands are more common than that figure suggests.
  • No universal best multiple. There’s no verified best ATR multiple for gold stops. Test it on your own setups. See backtesting a gold strategy.
  • News distorts the readings. One extreme candle can inflate ATR and widen bands for many candles afterward.

Pro tips

  1. Pair structure with ATR, always. Structure tells you where; ATR tells you how much buffer. Neither alone is enough.
  2. Use daily ATR to judge intraday targets. If gold has already covered most of its daily ATR, lower your expectations for further extension.
  3. Watch the first close outside a squeeze, then the retest. Many traders find the retest offers better risk-to-reward than the breakout candle.
  4. Cut risk percentage, not just size, in extreme regimes. Spreads and slippage grow with volatility.
  5. Recalculate size every trade. It takes a few seconds and keeps your risk constant.
  6. Log ATR at entry in your journal. Over time you’ll see whether your setups work better in certain volatility regimes. See how to keep a trading journal.

Quick checklist

  1. What is ATR(14) on my setup timeframe right now?
  2. What volatility regime is gold in: quiet, normal, expanding or exhausted?
  3. Are the Bollinger Bands squeezing, expanding or flat?
  4. Is price walking a band or swinging between bands?
  5. Is my stop beyond structure plus an ATR buffer?
  6. Are my targets realistic in ATR terms?
  7. Did I size the position from the stop distance?
  8. Is high-impact news due before the trade plays out?
  9. Have I allowed for slippage and gaps?

Frequently asked questions

What is a good ATR stop-loss for gold?

Many traders place stops between 1 and 2 ATR from entry, often beyond a structure point. There’s no universal best multiple. A smaller multiple gets hit more by normal noise; a larger one means a smaller position. Test the multiple on your timeframe and keep it consistent.

What is the ATR of gold?

It changes constantly with market conditions, so any fixed number would be out of date. Check ATR(14) on your own chart and timeframe. On gold, daily ATR in calm periods can be a fraction of what it is during major news or macro shocks.

What are the best Bollinger Band settings for XAUUSD?

The standard 20-period, 2-standard-deviation setting is the default and the most widely used. Some traders widen to 2.5 deviations for mean-reversion work. There’s no proven best setting for gold; test any change before using it.

What is a Bollinger Band squeeze?

A squeeze is when the bands narrow to their tightest width in a while, showing that volatility has contracted. Low volatility tends to be followed by higher volatility, so traders watch squeezes for breakouts. The squeeze doesn’t tell you the direction.

Should I sell when gold touches the upper Bollinger Band?

Not on that alone. In ranges, a touch of the upper band can mark a stretched price. In trends, gold can ‘walk’ the upper band for many candles while rising. Check the trend and band slope before treating a touch as a fade signal.

How do I use ATR for position sizing on gold?

Set your stop as a multiple of ATR, then divide your dollar risk by that stop distance. On most brokers, 0.01 lot of gold equals $1 per $1 move. So risking $100 with a $12 stop gives about 0.08 lots. When ATR rises, your position gets smaller automatically.

Sources and further reading

External sites are independent of XAUUSD Global. Check dates and data yourself.