OptiNod Academy

ATR — Average True Range

When ATR is at least twice its 30-day average, reduce position size to keep R-risk constant.

ATR sets both your stop distance and your position size. On high-volatility days, you need to reduce size even if the entry setup is the same. If ATR is twice its normal level and you keep the same size, your R-risk also doubles.

ATR(14) is calculated with Wilder smoothing, which uses a different formula from a simple 14-bar average. When one high-volatility bar appears, its effect does not disappear immediately. It remains in the ATR for several bars. ATR therefore captures not only current volatility, but also the aftershock of a recent volatility spike.

The basic use is simple. Set stop distance as ATR × k and keep R fixed. When ATR rises, the stop distance widens, so position size must fall. If you only widen the stop without reducing size, account risk changes every time, even on the same setup.

How True Range captures the move from the prior close across a gap

R per ATR — The Core of the Sizing Formula

If you fix risk per trade (R), usually 1% of the account, and set the stop distance as ATR × k, position size is naturally determined by dividing R by the stop distance. When volatility doubles, the stop distance also doubles and size is cut in half. That keeps R constant regardless of volatility.

This simple formula creates a system that adjusts automatically to volatility. Whether ATR rises or falls, the loss amount stays at the same level. A trader who always uses the same size, by contrast, can take two or three times the normal loss in a single trade when volatility expands.

Natural gas daily ATR moved from 0.08 to 0.22 during 2024. A trader who used the same size at ATR 0.22 as at ATR 0.08 took almost three times the loss on the same 2 ATR stop. To maintain the same R, size had to be reduced to 36% in the 0.22 ATR regime. Traders who left ATR out of the sizing calculation ultimately failed to keep R constant.

With R fixed, position size shrinks inversely as ATR rises

ATR at 2× the 30-Bar Average — The Half-Size Trigger

After fixing the stop-distance multiple inside your system, such as k=2 or k=3, the next question is when to reduce size further. The simplest rule is to divide current ATR by the average ATR over the previous 30 bars.

  • Ratio 0.7–1.3: Normal range. Use normal size and normal R.
  • Ratio 1.3–2.0: Volatility is expanding. The default rule is to reduce size by 1 / multiple to keep R unchanged. If ATR is 1.5 times normal, reduce size to 1 / 1.5, or about 65%, to keep R the same.
  • Ratio 2.0 or higher: Volatility has exploded. The default is still 1 / multiple, so 50% at a 2.0 ratio. But in this zone, one loss can consume a full month’s risk budget, so it is often better to cut more conservatively to 25–40% or pause new entries.
  • Ratio 0.5 or lower: Volatility is contracting. Keep size normal, but recognize that the stop may be so tight that normal noise can knock you out. In this case, widen the stop from ATR 2 to 2.5 or 3 and reduce size accordingly to keep R aligned.

WTI crude oil daily ATR surged in October 2024 during the Middle East conflict, reaching 4.3 dollars, or 2.4 times its normal level of about 1.8 dollars. Traders who entered with normal size during that period took large losses. Traders watching the ratio cut size to 30%. Based strictly on the same R, about 42% (=1/2.4) would have been enough, but because this was a volatility spike, they chose a more conservative size.

> Account: 10,000 dollars. R = 100 dollars (1%).

> WTI daily ATR is 4.3, and the previous 30-bar ATR average is 1.8 — ratio 2.4.

> Stop distance: 2 × 4.3 = 8.6 dollars.

> Normal-regime size: 100 / 8.6 ≈ 11.6 units × size coefficient.

> Since the ratio is 2.0 or higher, apply 30% size: about 3.5 units.

> If ATR falls back below 2.5 after entry, recalculate the new size using the ATR at that time.

The key is to keep stop distance at ATR × k and control R through position size. If you try to control R by tightening the stop, the stop moves inside normal noise and valid setups keep getting stopped out.

Size-reduction zones keyed to the current-to-average ATR ratio

True Range Gap Handling — What It Means Across Asset Classes

True Range uses max(H−L, |H−C_prev|, |L−C_prev|), the largest of the three values. It looks simple, but it produces different results across asset classes.

  • Crypto and FX, which trade 24 hours: Gaps are rare, so H−L usually becomes TR. ATR roughly tracks the intraday range.
  • Stocks, ETFs, and equity index futures: Overnight and weekend gaps are common, so |H−C_prev| or |L−C_prev| often becomes TR. These are assets where ATR should not be read as intraday movement only, and a single gap can lift the entire ATR.
  • Commodity futures such as WTI crude oil and natural gas: Events outside trading hours, such as Middle East news, hurricanes, and EIA inventory reports, are immediately reflected as gaps. For that reason, ATR can mean different things to intraday traders and swing traders even at the same price level.

This difference affects which ATR period to use. In assets with frequent gaps, one large gap can affect ATR(14) for many bars. Extending to ATR(30) smooths that impact. In assets like natural gas, where EIA reports can create large weekly moves, ATR(30) is often a more stable reference point.

True Range composition shifts by asset class depending on gaps

The Lag Created by Wilder Smoothing

ATR(14) weights the previous 14 bars unequally. Wilder smoothing uses the formula ATR_today = (ATR_prev × 13 + TR_today) / 14, giving the new TR a 1/14 weight and the prior ATR a 13/14 weight. Past ATR values therefore decay gradually into the current value, creating a structure similar to an EMA.

Two things follow from this. First, ATR reacts slowly. One large bar can push ATR higher, but it will not instantly double it on the spot. Second, the effect of a past large bar remains for a long time. The aftereffect of a crash bar like August 5 can still be visible in ATR by mid-September.

One way to compensate for this lag is to watch ATR(14) and ATR(30) together. ATR(14) reflects recent changes more quickly, while ATR(30) shows the broader volatility regime more steadily. When the two values diverge sharply, current volatility is changing quickly.

Wilder smoothing leaves a spike bar's effect lingering across many bars

Fat Tails in ATR Distribution by Asset

The same ratio, such as twice normal, occurs with different frequency depending on the asset. Natural gas daily ATR reaches a ratio of 2.0 or higher five to eight times a year. It is one of the assets with the fattest tails. In SPY daily data, the same event occurs only once or twice a year. In EURUSD FX, it happens zero to one time per year.

This changes re-entry frequency and position-sizing practice. Natural gas traders need to reduce size for volatility often. EURUSD traders may encounter the same condition only once or twice in a trading lifetime. Looking at your asset’s ATR distribution once gives you a feel for how rare a 2.0 ratio really is in that market.

How often ATR spikes past a 2.0 ratio differs sharply by asset

Three Places ATR Misleads

  • Comparing assets by absolute ATR: You should not compare BTC ATR of 1,500 dollars with ETH ATR of 80 dollars on the same scale. For cross-asset comparisons, use ATR / Price (%) or the ratio versus normal. Natural gas ATR of 0.3 is about 7% of price, while WTI ATR of 1.8 is about 2.5% of price, meaning natural gas is almost three times more volatile.
  • Using ATR as a direction signal: Some traders read rising ATR as a trend-start signal, but ATR has no direction. Volatility can break upward or downward. Direction comes from price structure, trend lines, and momentum. ATR only sets size and stop distance.
  • Trusting ATR immediately after a gap: One large gap bar can lift ATR right away, but do not decide immediately whether it reflects a real volatility shift or a one-off outlier. It is safer to wait 3–5 bars after the gap and see whether the ratio holds before changing the sizing policy.

Two Contexts to Check Alongside Position Sizing

For an ATR-based sizing system to work consistently, watch two additional contexts.

  • HTF ATR ratio: Even if the 1-hour ATR ratio is 1.0, a daily ratio of 2.0 means the overall market has entered a high-volatility regime. Use the higher timeframe as the primary reference and the lower timeframe as secondary confirmation.
  • Event schedule: Scheduled events such as FOMC, CPI, and EIA inventory reports can change the ATR distribution itself. It is safer to have a separate rule that automatically reduces size during the 24 hours before and after these events. By the time ATR reacts, the large bar has already formed.