Volatility
Average True Range (ATR)
Average true range explained: true range, Wilder smoothing, stop distances, position sizing and ATR alerts for volatility.
4 min readUpdated
Average True Range measures how much the price typically moves per bar, gaps included. It says nothing about direction: a calm uptrend and a calm downtrend have the same low ATR; a crash and a squeeze-up both have a high one. Traders use it to size stops, targets and positions to the market's actual mood.
What it measures
The true range of a bar is the largest of:
The highโlow range of the bar, extended to the previous close when the bar opened with a gap. ATR is Wilder's smoothed average of it:
Because ATR is in price units, it grows with the price: BTC's ATR is in dollars, a stock's in cents or dollars. Compare ATR with the price of the same market, or use volatility (in percent) to compare markets.
Try it
ATR stays low in the steady rise and the range, then jumps in the drop: wide bars, big gaps.
How Subtrigger computes it
| Crypto | US stocks and ETFs | |
|---|---|---|
| Period | 14 | 14 |
| Bar | 1 minute | 5 minutes |
| First value | right away on Binance, after 15 bars elsewhere | after 15 bars |
| Stream | ind:atr_14_1m@binance.miniticker:BTCUSDT:value | ind:atr_14_5m@nasdaq.stocks:TSLA:value |
High, low and close come from the bars Subtrigger builds from ticks. The forming bar's range grows as the minute goes on, so ATR rises during a volatile minute and settles once it closes. Subtrigger keeps 57 bars for the smoothing to settle.
How to read it
- Rising ATR: bars are getting wider. Breakouts, news, panic, or the start of a trend.
- Falling ATR: quieter market; often before a breakout.
- ATR relative to price: ATR / price ร 100 is the typical bar move in percent. For BTC on 1-minute bars it is often around 0.05โ0.15 %.
Using ATR for risk
| Use | Rule of thumb |
|---|---|
| Stop-loss | 1.5โ3 ATR away from entry |
| Take-profit | 2โ4 ATR, or a multiple of the stop |
| Trailing stop | highest price minus 2โ3 ATR (the "chandelier") |
| Position size | risk รท (stop in ATRs ร ATR) |
The idea: in a wild market you need a wider stop to avoid being shaken out, and a smaller position to keep the same money at risk.
Alert ideas
Volatility waking up on BTC (calibrate the level to the current price):
Alert idea
BTCUSDT ATR 14 ยท 1m ยท Binance > 150
Any change of ATR on a stock you hold, to keep a trailing stop up to date through a webhook or an agent:
Alert idea
TSLA ATR 14 ยท 5m changes
For pros
- Keltner channels: an EMA ยฑ 2 ATR. Bollinger inside Keltner is another definition of a squeeze.
- ATR breakouts: a move of more than 1โ1.5 ATR in a bar is unusual and often starts a run.
- Normalized distance: (price โ EMA 20) / ATR says how stretched a move is, comparable across markets.
Related
- Volatility: dispersion of returns, in percent.
- Bollinger Bands: a volatility envelope around the price.
- Donchian Channels: the range of N bars, for breakouts.
FAQ
What is a good ATR value?
There is none: it depends on the market and the price. Compare ATR with its own past values, or divide it by the price to get a percent.
Does a high ATR mean the price will fall?
No. ATR has no direction; it only says how wide the moves are.
Why does ATR rise during a minute and then drop?
The forming bar's high and low expand as the minute goes on. When the bar closes, its range is fixed and the next bar starts small.
Keep reading
- VolatilityVolatilityHistorical volatility explained: log returns, standard deviation, calm and stormy markets, and volatility alerts in Subtrigger.
- VolatilityBollinger BandsBollinger Bands and %B explained: the bands, squeezes, band walks, mean reversion and Bollinger alerts on crypto and stocks.
- VolatilityDonchianDonchian channels explained: highest high and lowest low, breakouts, turtle trading and Donchian breakout alerts.