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.
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.
| ATR | What it suggests |
|---|---|
| Rising | Candles are getting larger. Price is moving more. |
| Falling | Candles are getting smaller. Price is calmer. |
| High compared with its own past | An active period. |
| Low compared with its own past | A 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
- Bollinger Bands explained: how to read and use themBollinger Bands sit above and below a moving average and widen when price moves more. Learn how they are calculated, how to read them and how to test rules.
- Supertrend indicator explained: how it worksSupertrend is a line built from ATR that sits under price in an up-move and over it in a down-move. Learn how it works, how to read it and how to test it.