What is ATR? Average True Range explained

By Oalgo · Last reviewed

Average True Range (ATR) measures how far price typically moves in one candle, from high to low, including any gap from the previous close. It shows how big the moves are, not which way they go. The usual setting is 14 candles.

Chart: example prices with their high-to-low ranges, and the 14-period ATR below them. The ATR line rises where candles get larger.PriceHigh to lowATR 14
Example prices, made up for this page.

How is ATR calculated?

#
  • For each candle, find the true range: the largest of three distances. High to low. High to the previous close. Low to the previous close.
  • The first ATR value is the plain average of the first 14 true ranges.
  • After that, ATR = (previous ATR × 13 + this candle's true range) ÷ 14. This is Wilder's method, the same smoothing RSI uses.

How do you read ATR?

#

ATR is in the same units as price. An ATR of 4 means a candle typically covers about 4 price units. It says nothing about direction: a fall and a rise can both push it up.

ATRWhat it suggests
RisingCandles are getting larger. Price is moving more.
FallingCandles are getting smaller. Price is calmer.
High compared with its own pastAn active period.
Low compared with its own pastA quiet period.

How do people use ATR in rules?

#
  • As a filter: only enter when ATR is above a level you choose, so the moves are big enough to matter.
  • To set how far away a stop sits, for example a few ATRs from the entry. In Oalgo you can test an ATR stop, and a Live Strategy can use one too.
  • To compare calm and active periods. Bollinger Bands also widen and narrow with the size of recent moves.
  • As the base of other indicators: Supertrend is built from ATR.

What can ATR not tell you?

#

ATR gives no direction, and because it is an average it reacts after the move. Its size depends on the price level and the candle length, so compare an ATR with its own past on the same chart, not with the ATR of another chart. Test any ATR rule on past prices with a backtest before you rely on it.

In Oalgo you can tell Oalgo AI your ATR rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

Read next