ATR indicator: settings and signals
ATR measures the average range of a bar over a period in price units and answers the question "how much does this instrument usually move".
What the indicator looks like on a real chart
Data: EUR/USD, daily bars, 2025-06-16 — 2026-07-20. The indicator is computed over 400 bars; the chart shows the last 180. Quote source: Binance Spot REST API (api.binance.com/api/v3/klines).
| Regime | Score |
|---|---|
| Trending market | 55 |
| Range | 50 |
| High volatility | 70 |
| Low volatility | 38 |
What the indicator actually measures
The true range accounts not only for the range of the current bar but also for gaps: it takes the maximum of three quantities — the bar range, the distance from the high to the previous close, and from the low to the previous close. Because of this a gap is not lost but enters the volatility calculation.
ATR is fundamentally non-directional. A sharp rise and a sharp fall contribute equally, so the indicator cannot be used to judge direction — only the magnitude of the move. This is not a limitation but the purpose of the tool.
The practical value of ATR lies not in signals but in normalization. A 50-pip stop means different things on a calm and on a volatile market; a stop of two ATR means the same thing always. The same principle works for position sizing: by fixing risk in fractions of ATR, a trader gets comparable risk across different instruments.
Formula
The true range takes the maximum of three distances in order to account for gaps between bars. Wilder smoothing is then applied — the same as in RSI — so ATR has a long memory and reacts to volatility spikes gradually.
Standard settings
| Parameter | Value |
|---|---|
| Standard period | 14 |
| Stop-loss multiplier | 1.2–2× |
| Grid-step multiplier | 0.5× |
Period 14 is Wilder's original value. Shorter periods (7–10) reflect a change in the volatility regime faster and suit calculating intraday stops. Multipliers of 1.5–3 ATR for a stop-loss are an empirical range: too tight a stop is knocked out by market noise, too wide a stop makes the per-trade risk unacceptable.
Implementation code (Python)
def atr(high, low, close, period=14):prev_close = close.shift(1)tr = pd.concat([high - low,(high - prev_close).abs(),(low - prev_close).abs(),], axis=1).max(axis=1)return tr.rolling(period).mean()
When the indicator stops working
- Does not show the direction of the move — only its magnitude.
- Lags by construction: it reflects volatility that has already happened and does not predict future volatility.
- Absolute values are not comparable between instruments of different price, so for comparison ATR is expressed as a percentage of price.
Common mistakes in use
- Trying to trade in the direction of ATR. A rise in the indicator means a strengthening of the move in either direction, not a rise in price.
- Setting a fixed stop in pips on an instrument with changing volatility — on a calm market it will be excessive, on an active one it will be knocked out by noise.
- Comparing ATR of different instruments directly, forgetting that it is a quantity in price units.
- Treating a high ATR as a sign of a good opportunity. High volatility increases both the potential profit and the potential loss equally.
Who needs this and why
A mandatory tool for anyone who sizes positions and sets protective levels. It gives no entry signals but determines what the per-trade risk should be.
Frequently asked questions
How do I use ATR for a stop-loss?
The stop is placed a few ATR away from the entry — usually from one and a half to three. The point is to keep the stop beyond the instrument's ordinary noise: if the typical daily range equals one ATR, a stop inside that distance will be knocked out by a random fluctuation.
Is a rising ATR good or bad?
Neither: it is information about the market regime. A rising ATR means moves have become larger, so at constant money risk the position needs to be reduced and the stop widened. The indicator does not show market direction at all.
Can I compare ATR of different instruments?
Not directly, because ATR is expressed in the price units of the instrument. For comparison it is converted into a percentage of the current price — that yields a comparable measure of relative volatility.