Guides
ATR explained: measuring volatility and placing your stop
Updated on · Trade AI team
What the Average True Range (ATR) is, how it is calculated and how to use it to place a stop loss and size a position.
Definition
The ATR (Average True Range) was introduced by J. Welles Wilder in 1978. It measures the average size of an asset's moves over a period, usually 14 candles. It says nothing about direction, only about how agitated the market is.
How it is calculated
For each candle, compute the “true range”: the largest of three gaps: high minus low; high minus previous close (absolute); low minus previous close (absolute). The last two capture opening gaps.
The ATR is then the smoothed average of those true ranges over the chosen period. It is expressed in the asset's price unit: dollars for gold, pips for EUR/USD.
Placing a stop with the ATR
A stop that is too tight gets hit by normal market noise; a stop that is too wide exposes you to an unnecessarily large loss. Expressing the stop as a multiple of ATR adapts it to current volatility.
Fictitious example: gold on 4h, ATR of $18, entry at $2,650. A 2 ATR stop sits at 2,650 − 36 = $2,614. If volatility doubles, the stop moves twice as far.
In Trade AI, stops and targets are defined in ATR multiples, adjusted to the style: for example 2 ATR in swing and 1.5 ATR in intraday.
Sizing a position
The ATR also helps decide position size. If you accept to risk a fixed amount per trade, size = amount at risk ÷ stop distance. With an ATR-based stop, a more volatile period automatically gives a smaller position.
Limits
The ATR lags, since it is an average. It does not anticipate economic releases that can make volatility jump at once. And it never says whether price will go up or down.