Technical analysis

ATR Indicator Explained: What Is ATR and How Traders Use It

YO
Last updated:

The ATR indicator, short for average true range, measures how far price typically moves over a set number of bars. Each bar’s true range is the largest of three distances: high minus low, high minus the previous close, and low minus the previous close. ATR averages those values, usually over 14 bars. It measures volatility, not direction.

The ATR indicator answers a simple question: how far does this market usually move in one bar? Traders use it to size stops, to judge whether a market is quiet or fast, and to avoid placing a stop inside normal price noise. This guide covers the true range formula, how the average is calculated, a worked example with every step shown, and how ATR fits into stop placement and position sizing under a prop firm loss limit.

What the ATR indicator measures

Average true range, usually shortened to ATR, is a volatility measure developed by J. Welles Wilder Jr. For each bar on a chart, it tracks how far price moved, including gaps between the previous close and the current bar. The result is averaged over a set number of bars and plotted in the same price units as the instrument, usually in a separate pane below the price chart.

ATR does not care whether price went up or down. A market that moves 40 pips a bar on the way down and one that moves 40 pips a bar on the way up produce the same ATR. That is the point of the indicator, and also its limit. It tells you how big the moves have been, not where they are going.

ATR is a smoothed average, so it reacts with a delay. A single session with a much wider range lifts the value only partly on the first bar. A quiet stretch lowers it gradually as well. Read it as a picture of recent conditions, not of the next bar.

The true range formula

Plain high minus low is not enough, because it ignores gaps. A bar that opens well above the previous close can have a short range inside itself while still moving a long way from where the market was. True range fixes this by taking the largest of three distances for each bar:

  1. High minus low, the bar’s own range.
  2. The absolute value of high minus the previous close, which captures an upward gap.
  3. The absolute value of low minus the previous close, which captures a downward gap.

In formula form: TR = max(High − Low, |High − Previous Close|, |Low − Previous Close|). Most bars use the first distance. The other two only win when the bar starts far from where the previous bar closed.

How ATR is calculated

The standard method, from Wilder’s original work, has three steps:

  1. Calculate the true range for each bar.
  2. The first ATR value is the simple average of the first N true ranges, where N is the period. For the common 14-bar setting, that is the average of the first 14 bars.
  3. Each later value smooths the previous one: ATR today = ((ATR yesterday × (N − 1)) + TR today) / N.

A longer period gives a steadier line that reacts more slowly. A shorter period reacts faster and changes more often. Many traders keep the default unless they have a clear reason to change it.

Not every platform uses this exact method. Some use a simple moving average of true range, and others use an exponential average. The value on your chart can therefore differ from the worked example below, so check the indicator settings in your platform before you compare numbers.

Worked example: ATR over five bars

The prices below are invented to keep the arithmetic short. They are not a real quote. The period is five bars so that every step fits on the page. The same method applies to 14 bars, with the same steps and more rows. Pips use a four-decimal quote, where one pip is 0.0001.

BarHighLowPrevious closeHigh − Low|High − prev. close||Low − prev. close|True range (pips)
11.10721.10251.10300.00470.00420.000547
21.10981.10551.10610.00430.00370.000643
31.11201.10401.10870.00800.00330.004780
41.11301.11001.10460.00300.00840.005484
51.11381.11051.11250.00330.00130.002033

Bar 4 shows the gap case. Its low (1.1100) sits well above the previous close (1.1046), so the distance from that close to the high (84 pips) is larger than the bar’s own range (30 pips). The true range is 84 pips. A high minus low calculation would have given 30 pips and understated the move.

Step 1: the first ATR. Add the five true ranges: 47 + 43 + 80 + 84 + 33 = 287 pips. Divide by five: 287 / 5 = 57.4 pips. The ATR at bar 5 is 57.4 pips, or 0.00574 in price terms.

Step 2: smoothing on bar 6. Suppose bar 6 has a high of 1.1125, a low of 1.1098 and a previous close of 1.1110. Its distances are 27 pips (1.1125 minus 1.1098), 15 pips (1.1125 minus 1.1110) and 12 pips (1.1110 minus 1.1098). The largest is 27 pips, so the true range is 27. With N = 5: ATR = ((57.4 × 4) + 27) / 5 = (229.6 + 27) / 5 = 256.6 / 5 = 51.32 pips.

The new bar was narrower than the average, so ATR fell from 57.4 to 51.32 pips. It did not drop to 27, because smoothing keeps most of the previous value. That is the behavior to expect from the indicator.

Diagram of the ATR indicator: five illustrative bars labelled with true range values of 1.20, 0.90, 1.50, 1.10 and 1.30, a dashed line marking the 1.20 average, and an EXAMPLE panel that shows the true range rule and the sum of 6.00 divided by 5, giving an ATR of 1.20.
The ATR idea in one picture: five true range values, their simple average and the EXAMPLE arithmetic. The figure uses unitless illustrative values. The pip arithmetic is in the worked example table above. Tap the diagram to view it full size.

Using ATR for stops and position size

The most common use of ATR is to set the distance of a stop loss. A trader places the stop a chosen multiple of ATR from the entry, so that the stop allows for normal bar-to-bar movement. The multiple is a choice the trader makes and tests. It is not a standard, and it does not make a trade more likely to work.

Using the example above, suppose the account is $10,000 and the trader risks 1%, which is $100. The stop sits 1.5 × ATR from entry: 1.5 × 57.4 = 86.1 pips. On a USD-quoted pair, one standard lot moves $10 per pip, so the risk per lot is 86.1 × $10 = $861. Lot size = $100 / $861 = 0.1161, rounded down to 0.11 lots. At 0.11 lots, a full stop-loss hit costs about $95 before spread and commission, which is inside the $100 budget.

Two points follow. First, a wider ATR-based stop lowers the size for the same percentage risk, so higher volatility shows up as a smaller position rather than a bigger risk. Second, the stop still has to make sense on the chart. A stop set only by a multiple, with no regard for the structure the trade depends on, can sit in the wrong place. The full sizing steps are in the position size calculator guide, and the margin a position needs is covered in the margin calculator guide.

Reading ATR on a chart

ATR is easiest to use next to price. The table below sets out what a reading can and cannot tell you.

SituationWhat ATR showsWhat ATR does not show
ATR risingRecent bars have been wider on averageThe direction of the next move
ATR fallingRecent bars have been narrower on averageThat a breakout will not happen
A single ATR valueThe typical bar size, in price units, on that chart’s timeframeA price target, a forecast or a stop level
Two instruments with different pricesThe typical move on each, in its own unitsWhich one is more volatile in percentage terms, unless you convert them

ATR can help you judge whether a move is happening in a wide or narrow market. It does not say whether the move will hold. For a momentum reading, see the RSI indicator guide. For an intraday reference price, see the VWAP guide. Used together with price structure, these tools answer different questions, and none of them is a signal on its own.

ATR and prop firm loss limits

A prop firm’s daily loss limit sits on top of your own stop plan. Under the Yo Pips rules page, the loss limits on each programme are:

Yo Pips programmeDaily loss limitMaximum loss limit
1-Step Pay Later4%8%
2-Step Pay Later5%10%
Instant Funding3%6%

The daily figure includes floating profit and loss, so an open trade that moves against you uses daily room before it closes. On a $10,000 account, a 4% daily limit is $400. The trade sized above risks about $95 if its stop is hit, roughly a quarter of that room. A trade that is $80 down has already used $80 of it. Checkout terms take precedence over the rules page, and rules can change, so confirm the current version before you trade.

Check the ATR stop, the lot size and the daily limit together. If the daily room is small, it may be the daily limit, not the chart, that decides how many trades you take in a session. The prop firm challenge guide compares the programmes side by side.

Common ATR mistakes

  • Reading ATR as direction. A high ATR tells you the bars are wide. It does not tell you which way they will close.
  • Mixing timeframes. A daily ATR is the wrong input for a stop on a one-hour chart, and the reverse is also true. Each ATR value describes the bars of the chart it is added to.
  • Comparing raw ATR values across instruments. An ATR of 0.00574 on a currency pair and an ATR of 57 on an index are in different units. Convert to pips, ticks or percentage before you compare.
  • Using high minus low instead of true range. That method misses gaps, so it can understate volatility after a gap at the open.
  • Skipping the pip value. Convert ATR into the symbol’s own pip or tick value using its specification in MetaTrader 5 before you size the trade.
  • Treating ATR as a signal. ATR does not say when to enter or exit. It sets a scale for stops and sizing, and the trade plan decides everything else.

Frequently asked questions

What is the ATR indicator?

The ATR indicator, short for average true range, measures the typical size of each bar on a chart. It takes the true range of each bar, which includes any gap from the previous close, and averages it over a set period, usually 14 bars. The result is shown in price units. ATR describes volatility only and does not say which direction price will move.

What does ATR mean in trading?

In trading, ATR means average true range: the average of each bar’s true range over a chosen number of bars. The name refers to range, not trend. A high ATR means bars have been wide on average, and a low ATR means they have been narrow. It shows how much price has been moving, not whether it will move up or down.

What is the default ATR period?

14 bars is the common default and the period used in Wilder’s original method. A shorter period, such as 5 or 7, reacts faster to recent bars. A longer period gives a smoother line. Change the period only for a reason you can explain, and check the settings on the platform you use, because some platforms calculate ATR differently.

Does a high ATR mean price will go up?

No. ATR does not show direction. A market can have a high ATR while falling steadily, or while swinging sideways in wide bars. ATR tells you how far price has been moving, which helps you judge stop distance and position size. It does not tell you whether the next bar will close higher or lower.

Can you use ATR to set a stop loss?

You can use ATR to set the distance of a stop, for example a multiple of the current ATR below the entry on a long trade. Choosing that multiple, and checking that the stop sits sensibly against the chart, is a risk and planning decision. Then size the position so that a full stop-loss hit fits your risk budget and any firm rule. ATR does not make a stop safe on its own.

Is ATR the same as standard deviation?

No. Standard deviation measures how far closing prices spread around their average. ATR is built from each bar’s high, low and previous close, so it captures the range inside the bar and any gap from the prior close. The two can rise together in a volatile market, but they are different calculations and should not be swapped without checking.

Risk disclosure: Trading leveraged products such as forex and CFDs carries a high level of risk, and most traders lose money. Prop firm challenges are evaluations on simulated accounts; passing one does not guarantee account activation, profits or a payout. Nothing on this page is investment advice. Always read the current rules and terms before you buy or start a challenge.