Learn › Indicators

Average True Range (ATR): Measuring Volatility for Stops and Position Size

Average True Range, introduced by J. Welles Wilder in 1978, does not tell you which way the market is going. It tells you how much the market typically moves. That makes it one of the most practical tools in a rule-based trader's kit: it is used to set stop distances, size positions, filter out quiet markets and build other indicators such as Supertrend and Keltner channels.

True range: more than high minus low

The obvious measure of a bar's movement is its high minus its low. The problem is gaps. If a stock closes at 100 and opens the next day at 110, then trades between 108 and 112, the high–low range is only 4 even though price effectively moved 12 from the previous close. True range fixes this by taking the largest of three values:

  • Current high − current low
  • |Current high − previous close|
  • |Current low − previous close|

In the example above the true range is |112 − 100| = 12, which reflects the real distance price travelled.

Averaging it

ATR is a moving average of true range, most often over 14 bars. Wilder's original method uses a smoothing formula sometimes called the RMA or Wilder's moving average:

ATRtoday = (ATRyesterday × (n − 1) + TRtoday) / n

Some platforms use a simple or exponential moving average instead, which produces slightly different values. When you compare numbers between tools, check which smoothing method each one uses — the difference can be enough to change where a stop lands.

ATR is in price units

ATR is expressed in the same units as the instrument's price. An ATR of 25 on an index trading at 25,000 and an ATR of 25 on a stock trading at 250 describe very different levels of volatility. To compare instruments, divide ATR by price to get a percentage: 25/25,000 = 0.1% versus 25/250 = 10%. Percentage ATR is useful for screeners that rank instruments by how much they move.

Using ATR to place stops

A fixed stop of, say, 1% may be too tight for a volatile instrument and too loose for a quiet one. An ATR-based stop adapts automatically. A common approach is to place the stop a multiple of ATR away from the entry:

  • Long entry at 1,000 with ATR 20 and a 2× multiple → stop at 1,000 − 40 = 960.
  • The same rule on a quieter day with ATR 10 → stop at 980.

Smaller multiples (1–1.5×) keep losses small but get stopped by ordinary noise more often. Larger multiples (2.5–4×) survive noise but each loss is bigger. There is no free lunch; the right multiple depends on the strategy's holding period and timeframe and should be tested, not guessed.

Using ATR to size positions

Because the stop distance changes with volatility, a fixed quantity would mean the money at risk changes too. Volatility-based sizing keeps risk per trade constant by dividing the amount you are willing to lose by the stop distance:

Quantity = (Account equity × risk %) / (ATR multiple × ATR)

With ₹5,00,000 equity, 1% risk (₹5,000) and a stop of 2 × ATR where ATR is 25, the stop distance is 50 and the quantity is 5,000 / 50 = 100 units. If volatility doubles, ATR becomes 50, the stop distance becomes 100, and the quantity halves to 50 units — the rupee risk stays at ₹5,000. See position sizing and risk per trade for a fuller treatment, including lot sizes and leverage.

Other practical uses

  • Volatility filter. Skip trades when ATR as a percentage of price is below a threshold, because breakouts in very quiet markets often fail and costs eat a larger share of the move.
  • Target setting. Some traders set profit targets as a multiple of ATR so that targets scale with the market's typical move.
  • Trailing stops. A chandelier-style stop trails the highest high since entry by a multiple of ATR.
  • Regime detection. A sharp rise in ATR relative to its own longer-term average often marks a change in market conditions, for example around news or earnings.

Limitations

  • ATR is backward-looking. It describes recent volatility, not the next bar; a quiet period can end abruptly.
  • It reacts with a lag after volatility shocks because it is an average.
  • Session structure matters. On intraday charts, the first bars after the open are usually much larger than midday bars, so a short ATR period will swing during the session.
  • For instruments that trade around the clock, such as crypto perpetuals, there is no overnight gap, so true range and high–low range will be close; for equities with overnight gaps the difference can be large.

Key takeaways

  • True range includes gaps; ATR is its moving average, usually over 14 bars.
  • ATR is in price units — divide by price to compare instruments.
  • ATR-based stops and volatility-based sizing keep risk per trade roughly constant as market conditions change.

Educational content only. This guide explains general concepts and is not investment advice or a recommendation to trade any instrument. Trading involves substantial risk of loss, and historical or simulated results do not guarantee future performance. Read the Risk Disclosure.

Related guides