Risk management

What is ATR (Average True Range) and how to use it to set your stop loss, with gold data

Published November 5, 2026 · By the AUREUM team · 12 min read

ATR (Average True Range) measures how much the price moves in each candle, on average, including the gaps between one candle and the next. It doesn’t tell you whether gold will go up or down, only how much it moves, in dollars, which is why it helps you place your stop outside the normal noise and work out your lot size. From August to October 2026, gold’s median ATR(14) was $16.33 on the one-hour chart and $93.93 on the daily. And it has changed a lot: the median daily ATR(14) went from $27.53 in 2020 to $104.37 in 2026, up to October 30.

What the ATR indicator is and what it measures

J. Welles Wilder introduced ATR in 1978, in his book New Concepts in Technical Trading Systems. It’s a volatility indicator: a line, in a separate window below the chart, that rises when candles get bigger and falls when they shrink. Three things to know when you read it:

True range: the three distances, with a real gold candle

The building block is each candle’s true range: the largest of these three distances, ignoring the sign:

  1. the candle’s high minus its low;
  2. the distance between the previous candle’s close and this candle’s high;
  3. the distance between the previous candle’s close and this candle’s low.

The first one almost always wins; the other two only count when a candle opens with a gap and doesn’t get back to the previous close. A real example, with Dukascopy prices: the one-hour candle of the weekly reopen, at 22:00 GMT on Sunday, September 13, 2026 (6:00 p.m. ET). On Friday, gold had closed at $4,347.51; on Sunday it opened $14.20 lower and during that hour it moved between $4,321.59 and $4,340.70:

The three true range distances in the H1 candle of Sunday, September 13, 2026, at 22:00 GMT
DistanceCalculationResult
High − low4,340.70 − 4,321.59$19.11
Previous close − high4,347.51 − 4,340.70$6.81
Previous close − low4,347.51 − 4,321.59$25.92

How to read it: the true range of that candle is $25.92, not $19.11, because it includes the weekend gap that the price never closed. It’s the exception: of the 1,493 one-hour candles from August to October 2026, the true range was bigger than the high minus the low in only 29, and in 22 of those by less than $1.

How ATR is calculated: the MetaTrader 5 formula and Wilder’s

ATR is the average of the latest true ranges, usually 14. But there are two ways to take that average, and MetaTrader 5 doesn’t use Wilder’s:

On the median they’re close: with data from August to October 2026, the one-hour ATR(14) comes out at $16.33 with MT5’s calculation and $16.65 with Wilder’s ($93.93 and $96.54 on the daily). Candle by candle they drift further apart, by more than 5.5% half the time on H1, and after a huge candle, by much more (you’ll see it in the limits of ATR). That’s why the ATR on another platform or in a book may not match MT5’s.

How to add ATR in MT5 and change the period

  1. Open the gold chart (XAUUSD, or whatever your broker calls it) on the timeframe you trade.
  2. Go to Insert → Indicators → Oscillators → Average True Range. You can also drag it from the Navigator window, under Indicators → Oscillators.
  3. Choose the period on the “Parameters” tab. It’s set to 14; change it if you want and click OK. It appears in a window below the chart, with “ATR(14)” and its value at the top left.
  4. To change it later, press Ctrl+I to open the “Indicator List”: select ATR and click “Properties”.

The figure is in the symbol’s price, not in points: if it reads 16.33, that’s $16.33, which with a two-decimal broker is 1,633 points.

Gold’s ATR on each timeframe: 2026 data

With Dukascopy’s public prices from August 3 to October 30, 2026 and MT5’s exact ATR calculation, this was gold’s median ATR(14) on each timeframe, the same as in the best timeframe to trade gold, together with the median candle, measured from high to low:

Median ATR(14) and median candle for gold (XAU/USD) by timeframe, August to October 2026
ChartMedian ATR(14)Median candle
M1$1.75$1.63
M5$4.16$3.88
M15$7.54$6.92
M30$11.13$9.82
H1$16.33$14.64
H4$35.16$30.61
D1$93.93$80.52

How to read it: on H1, half the time ATR(14) read more than $16.33 and the other half, less. It comes out above the median candle because it’s an average and a few very big candles pull it up. And it doesn’t grow in proportion to the length of the candle: the D1 figure is less than 6 times the H1 one, even though a day has 23 one-hour candles, because many ups and downs cancel each other out.

How gold’s ATR has changed from 2020 to 2026

This is each year’s median ATR(14) on the daily chart, with the day starting at 5:00 p.m. New York time, as on many MT5 servers, and on the one-hour chart:

Median ATR(14) of gold (XAU/USD) each year, on the daily and the 1-hour chart
YearATR(14) on D1On H1
2020
$27.53
$5.40
2021
$23.49
$4.17
2022
$24.53
$4.53
2023
$23.85
$4.07
2024
$33.48
$5.83
2025
$50.07
$10.09
2026*
$104.37
$19.00

* 2026, up to October 30. Dukascopy bid prices (the price you sell at), with MT5’s ATR calculation.

How to read it: on a typical day in 2020, the daily ATR(14) read $27.53; in 2026, $104.37, almost four times as much. Until 2023 it moved between $23.49 and $27.53; the rise came in 2024, 2025 and, above all, 2026. And it changes a lot within each year: in 2026 it reached $290.65 on February 13, after gold’s sharp fall at the end of January, and on October 30 it read $71.74.

Much of this is down to the price: the median close went from $1,775 in 2020 to $4,474 in 2026, and the same move in percentage terms means more dollars. As a percentage of the price, the daily ATR stayed between 1.2% and 1.5% from 2020 to 2025 and rose to 2.3% in 2026: this year gold isn’t just more expensive, it’s also moving more. A fixed $20 stop was about three quarters of a day’s ATR in 2020; in 2026, barely more than an hour’s. With candles that big, gold touched a multiple of $100 on 86.0% of days in 2026, against 17.9% in 2023 (gold support and resistance).

ATR stop loss: how many dollars away and what lot size

The ATR stop formula

stop distance = ATR × multiple and lots = money at risk ÷ (stop distance × 100), with 100 ounces per lot and rounding down to 0.01. With the example below: 16.33 × 1.5 = $24.49, and 50 ÷ 2,449 = 0.0204, that is, 0.02 lots.

The stop goes at a multiple of the ATR of the timeframe you trade, chosen before you enter, and the lot size is worked out afterwards, so that if the stop is hit you lose what you had decided. An example to do the math, not a recommendation: a $5,000 account, $50 at risk (1%), 100 ounces per lot, the lot size rounded down to multiples of 0.01 with the lot size formula, and the median H1 ATR(14) from August to October 2026, $16.33:

Stop at 1, 1.5, 2 and 3 times the H1 ATR(14), and the lot size to risk $50 with 100 ounces per lot
StopDistanceLot size to risk $50
1 ATR$16.330.03 ($48.99 at risk)
1.5 ATR$24.490.02 ($48.98 at risk)
2 ATR$32.660.01 ($32.66 at risk)
3 ATR$48.990.01 ($48.99 at risk)

How to read it: with the stop at 1.5 ATR, $24.49 from the entry, 0.02 lots fit and, if the stop is hit, you lose about $49. In the 2 ATR row, the formula gives 0.0153 lots and, after rounding down, the risk stays at $32.66: on small accounts, the 0.01-lot step matters as much as the ATR.

On the daily chart, not even the minimum lot fits within that $50. With 0.01 lots, one ounce, you risk the same as the stop distance: 1.9% to 5.6% of $5,000 (the minimum lot and margin). This is the account you’d need for that to be 1%:

Stop at 1, 1.5, 2 and 3 times the D1 ATR(14), and the account needed for 0.01 lots to risk 1%
StopDistanceAccount needed
1 ATR$93.93$9,393
1.5 ATR$140.90$14,090
2 ATR$187.87$18,787
3 ATR$281.80$28,180

How to read it: with the stop at 1.5 times the daily ATR, $140.90 from the entry, the minimum lot of 0.01 risks $140.90; for that to be 1% of the account, you need one of $14,090.

Which multiple? There isn’t a right one: closer in, the noise takes you out more often; further out, the stop is hit less often, but the lot size is smaller and the price has to travel further to make the same. You decide it with the whole strategy and test it in a backtest and on a demo account.

If ATR changes, so does your lot size

ATR lets you risk the same money even when gold changes pace. If ATR rises, the stop moves further away and the lot size goes down; if it falls, the opposite. With the same example (stop at 1.5 ATR and $50 at risk) and each year’s median H1 ATR(14), in 2020 the stop was $8.10 away and 0.06 lots fit; in 2026, with the stop $28.50 away, the formula gives 0.0175 and only 0.01 fits: for the same risk, today you can trade less than a third of the 2020 lot size. What it doesn’t do is reduce your risk: a losing streak hits the account just the same (what drawdown is).

An exit that follows the price using ATR

In a trailing stop, the distance from the best price can be a multiple of ATR instead of a fixed figure: on a buy, the stop goes to the highest price reached minus, say, 3 ATR, and only moves up. With an ATR of $16.33, 3 ATR is about $49: if gold rises $80 from your entry, the stop sits about $31 above it. If ATR grows in the meantime, the new level may come out below the previous one: the usual rule is never to lower it. And the trailing stop built into MT5 uses a fixed distance in points: to make it follow ATR, you have to move the stop by hand or program it.

The limits of ATR: lag, news, gaps and period

Common mistakes when using ATR

Stops that adjust to volatility: the AUREUM case

AUREUM trades XAU/USD on the 1-hour chart. According to its home page, “Every trade opens with its loss and profit limits already calculated”, and the stop-loss distance “is calculated from how much gold is moving at that moment, not from a fixed number”. The home page doesn’t say what measure of volatility it uses or at what distances: don’t assume any particular multiple. Its published backtest, a simulation on XAU/USD on H1 from 2024 to 2026, has 345 trades and a maximum drawdown of 22.35%.

How to use ATR for your stop, step by step

  1. Put it on your timeframe, the same one you enter and exit on.
  2. Choose the multiple before you enter and don’t change it from one trade to the next.
  3. Work out the stop in dollars: ATR times the multiple.
  4. Work out the lot size from your risk, round down and check the margin (how to calculate lot size in gold).
  5. Check the calendar: ATR doesn’t know there’s a release at 8:30 a.m. ET.

ATR is a ruler, not a crystal ball: it tells you how much gold is moving right now on your chart, but not where it’s heading, it’s late to the news and it doesn’t prevent gaps. Before you use it with real money, try it for a few weeks on a demo account.

Frequently asked questions about ATR

What is ATR in trading?

It’s the Average True Range, a volatility indicator introduced by J. Welles Wilder in 1978. It measures how much each candle moves on average, usually over the last 14, including the gaps between one candle and the next. It’s expressed in price units (dollars, for gold) and doesn’t tell you whether the price will go up or down.

How is ATR calculated in MetaTrader 5?

With a simple average of the last 14 true ranges, according to the code of the indicator that comes with the terminal (ATR.mq5). Wilder’s original formula uses a smoothed average: (previous ATR × 13 + current true range) ÷ 14. They’re close, but not the same: from August to October 2026, gold’s median one-hour ATR(14) was $16.33 with MT5’s calculation and $16.65 with Wilder’s.

What is a typical ATR for gold?

It depends on the timeframe and the moment. From August to October 2026, the median ATR(14) was $16.33 on the one-hour chart and $93.93 on the daily. The median daily ATR(14) was $27.53 in 2020 and $104.37 in 2026, up to October 30.

What does a high or low ATR mean?

That recent candles have been bigger or smaller than usual on that chart; it says nothing about where the price will go. Compare it with its own history: on gold’s H1 chart, from August to October 2026, eight hours out of ten it was between $12.38 and $21.63, and its peak was $36.61. With a high ATR, an ATR-based stop sits further away and, to risk the same amount, the lot size goes down.

How do you set a stop loss with ATR?

Multiply the ATR of the timeframe you trade by a multiple chosen in advance, place the stop that far from your entry and then work out the lot size so that, if the stop is hit, you lose what you planned. For example, with an H1 ATR(14) of $16.33 and the stop at 1.5 ATR, the stop goes $24.49 away, and with $50 at risk and 100 ounces per lot, 0.02 lots fit. An example to do the math, not a recommendation.

What ATR period is best: 7, 14 or 20?

None on its own. 14 is the most widely used and the one MT5 comes with. A shorter period reacts sooner and swings more; a longer one is steadier and arrives later. On gold’s H1 chart, from August to October 2026, the median barely changed ($16.15, $16.33 and $16.61), but after the September 4 jobs report ATR(7) reached $39.74, and ATR(20) only $24.27.

Where is ATR in MetaTrader 5?

In the Insert menu → Indicators → Oscillators → Average True Range, or in the Navigator window, under Indicators → Oscillators. You choose the period on the Parameters tab, and it’s set to 14. To change it later, open the Indicator List with Ctrl+I, select ATR and click Properties.

Risk warning

The ATR figures in this article were calculated with Dukascopy prices from 2020 to 2026 and change with the market, the broker and the timeframe; the stop and lot size examples are there to help you learn the math and are not a recommendation. Leveraged gold trading carries a high level of risk and you can lose some or all of your capital. The AUREUM figures we quote come from a simulation (backtest), not from a live account. Past or simulated results do not guarantee future results. This content is educational and is not financial advice.

AUREUM: gold on H1, with its backtest published

Software that trades XAU/USD in your own MetaTrader 5 account, on the 1-hour chart, in which every trade opens with its loss and profit limits already calculated. Its 2024–2026 backtest is published with its drawdowns: a maximum drawdown of 22.35% across 345 trades. It’s a simulation, not a live account.

See the full report →