What ATR Measures

Average True Range (ATR) is a volatility indicator developed by J. Welles Wilder. Unlike direction-based indicators, ATR does not tell you whether price is likely to rise or fall. Instead, it estimates how much the market typically moves over a given period.

The key idea is simple: a $2 move in a quiet stock is very different from a $2 move in a highly volatile crypto asset. ATR helps normalize that difference.

True Range formula

For each bar, the True Range (TR) is the largest of:

  1. High - Low
  2. abs(High - Previous Close)
  3. abs(Low - Previous Close)

ATR is then the moving average of TR, commonly using Wilder’s smoothing over 14 periods:

ATR_t = (ATR_(t-1) * 13 + TR_t) / 14

A 14-period ATR on daily bars is a common default, but traders often test 7, 10, 14, 20, or 21 depending on the strategy horizon.

Why ATR Is Useful for Systematic Trading

Fixed-dollar stops can be too tight in volatile markets and too wide in calm markets. ATR adapts to the current environment.

For example: - If ATR is 1.20 on a stock trading at $50, a 1×ATR stop is about $1.20 away. - If ATR rises to 3.00, the same 1×ATR stop expands to $3.00, reflecting the larger daily swings.

This makes ATR especially useful for: - stop-loss placement - profit targets - position sizing - regime-aware filters

Using ATR for Stop-Loss Placement

A common rule is to place the stop some multiple of ATR away from the entry price.

Example stop formulas

For a long trade:

Stop = Entry - (k × ATR)

For a short trade:

Stop = Entry + (k × ATR)

Where k is often between 1.0 and 3.0.

Typical choices: - 1.0× ATR: tighter stop, more sensitive to noise - 1.5× ATR: moderate balance - 2.0× ATR: common swing-trading default - 3.0× ATR: wider stop, fewer whipsaws but larger losses when wrong

Practical example

Suppose you buy a stock at $100 and the 14-day ATR is $2.50.

  • 1.5× ATR stop = $100 - $3.75 = $96.25
  • 2.0× ATR stop = $100 - $5.00 = $95.00

If the market normally moves $2.50 per day, a stop only $1.00 away may be hit by ordinary noise rather than a real trend failure.

Using ATR for Profit Targets

ATR can also help set targets so that reward scales with volatility.

Example target formulas

For a long trade:

Target = Entry + (m × ATR)

Where m is often 1.5 to 4.0, depending on the strategy.

A simple approach is to use a reward-to-risk ratio based on ATR multiples. For example, if your stop is 2× ATR and your target is 3× ATR, your gross reward-to-risk ratio is:

3 / 2 = 1.5

That does not guarantee profitability, but it gives the strategy a consistent structure.

Example

Entry = $100, ATR = $2.50

  • Stop at 2× ATR = $95.00
  • Target at 3× ATR = $107.50

Potential loss = $5.00 per share Potential gain = $7.50 per share

ATR for Position Sizing

ATR can also be used to size positions so each trade risks roughly the same amount of capital.

A common formula is:

Position Size = Account Risk / (ATR × k)

Where: - Account Risk = the dollar amount you are willing to lose on the trade - k = ATR stop multiple

Example

If you have a $50,000 account and risk 1% per trade, your account risk is $500.

Assume: - ATR = $2.50 - Stop = 2× ATR = $5.00

Then:

Position Size = 500 / 5 = 100 shares

This is one of the cleanest uses of ATR because it ties volatility directly to risk.

Common Pitfalls

1) Using ATR without matching the timeframe

A 14-day ATR on daily bars means something very different from a 14-bar ATR on 5-minute bars. Make sure the indicator period matches the strategy’s holding period.

2) Ignoring asset class differences

Forex pairs, large-cap stocks, small caps, and crypto have very different volatility profiles. A “good” ATR multiple in one market may be too tight or too loose in another.

3) Overfitting the ATR multiplier

It is tempting to optimize stop distance by testing 1.3×, 1.4×, 1.5×, etc. Too much tuning can fit noise rather than a real edge. Prefer broad ranges and validate with out-of-sample testing.

4) Forgetting slippage and gaps

ATR is based on historical bar ranges, but real fills can be worse, especially around earnings, macro releases, or crypto news spikes. Stops may execute beyond the intended level.

5) Treating ATR as a signal

ATR measures volatility, not direction. It should usually support a strategy, not replace one.

A Simple ATR-Based Strategy Template

A basic systematic framework might look like this:

  1. Enter long when price closes above a moving average or breaks a recent high.
  2. Set stop at Entry - 2× ATR(14).
  3. Set target at Entry + 3× ATR(14).
  4. Risk no more than 1% of account equity per trade.
  5. Skip trades when ATR is extremely low if the strategy needs expansion, or extremely high if you want to avoid unstable conditions.

This kind of setup is easy to test in a visual backtester such as Algovex by connecting entry, ATR, stop, and target nodes, then checking how performance changes across different markets and volatility regimes.

How to Test ATR Rules Properly

When evaluating ATR-based stops and targets, look beyond win rate.

Useful metrics include: - average trade expectancy - max drawdown - profit factor - average win / average loss - stop-out frequency - performance by volatility regime

A strategy with a lower win rate can still be strong if winners are larger than losers and risk is controlled. Walk-forward analysis is especially helpful because ATR settings can behave differently in trending versus choppy periods.

Final Thoughts

ATR is one of the most practical tools for systematic traders because it translates market volatility into actionable risk levels. By sizing stops, targets, and position size around ATR, you make your strategy more adaptive and less dependent on arbitrary fixed numbers.

The main takeaway: use ATR to let the market tell you how much room it needs, then test whether that logic actually improves performance across different assets and regimes.

Disclaimer: This content is for educational purposes only and is not financial advice.