Volatility indicator

Average True Range (ATR): Calculation and Stop Distance

Average true range (ATR) is a volatility indicator that averages each bar's true range, with 14 periods the SharpCharts default. True range is the greatest of the high minus the low, the high minus the previous close, and the low minus the previous close. J. Welles Wilder introduced ATR in 1978. It measures volatility in price units, not direction.

By RTX5 Editorial TeamLast updated: Editorial methodology
Three EXAMPLE bars on a shared price scale from 99.00 to 104.00. Bars 1 and 2 are highlighted at their full high-low range, true range 3.00 and 1.00, and bar 1's close of 101.00 is labelled. For bar 3 the largest candidate is high minus prior close, 3.00, shown as a yellow arrow, while the grey body shows its own high-low range of 1.50. A price ladder beside them shows an EXAMPLE entry at 103.50, the close of bar 3, and a stop at 99.50, a 4.00 bracket for 2 x an assumed ATR of 2.00.
Example only: three bars with the largest true range candidate highlighted, and a 2 x ATR stop distance on a price ladder. Open full-size diagram (opens in a new tab)

In brief

What is average true range?

ATR tells you how much price has been moving per bar, in price units. It does not tell you which way price will move, so it is a yardstick for stop distance and position size rather than a signal.

Key takeaways

  • True range is the greatest of three values: high minus low, high minus the previous close, and low minus the previous close. It captures gaps that a simple high minus low misses.
  • ATR averages true range, with 14 periods the SharpCharts default. The StockCharts smoothing rule multiplies the prior ATR by 13, adds the new true range, and divides the total by 14.
  • ATR measures volatility in the same price units as the chart. It does not indicate whether price is rising or falling.
  • One use is stop distance: a stop placed a multiple of ATR from entry, with the position size set from the amount at risk.
  • ATR describes past bars. A high or low reading does not forecast a move, and it does not show that a trade will work.

What the average true range measures

A simple range is the high minus the low of one bar. It misses movement between bars. If the market gaps up at the open, the bar's high-low range can look small even though price has moved a long way from the prior close. True range fixes this by also counting the distance from the previous close.

ATR is the moving average of true range. J. Welles Wilder introduced it in his book New Concepts in Technical Trading Systems (1978), and the StockCharts ChartSchool and MetaTrader 5 help pages both credit him with it. ATR is best understood as an average size of bar movement. It is not a trend tool.

True range formula with a three-bar example

True range (TR) is defined as the greatest of three values. The first is the current high minus the current low. The second is the absolute value of the current high minus the previous close. The third is the absolute value of the current low minus the previous close. The StockCharts ChartSchool and MetaTrader 5 help pages state the same three-part rule.

The table uses three EXAMPLE bars with made-up prices. Each row computes the three candidates and keeps the largest. Bar 1's prior close is an EXAMPLE 100.00, and each later bar's prior close is the previous bar's close.

Example: true range for three bars (illustrative prices, not market data)
BarHigh / lowClosePrior closeHigh minus lowHigh minus prior closeLow minus prior closeTrue range (largest)
Bar 1102.00 / 99.00101.00100.003.002.001.003.00
Bar 2101.50 / 100.50101.00101.001.000.500.501.00
Bar 3104.00 / 102.50103.50101.001.503.001.503.00

Example arithmetic. The closes match the diagram's close markers. Bar 3 is a gap-up case: the largest value comes from the high minus the prior close, not from the bar's own range.

Bar 1 has a true range of 3.00 from its own high-low range. Bar 2 is 1.00 from its own range, because it sits inside the prior bar's span. Bar 3 is 3.00, even though its own range is only 1.50, because the prior close of 101.00 sits well below the 104.00 high.

How ATR is smoothed over 14 periods

The first 14-day ATR is the average of the first 14 true range values. After that, the StockCharts ChartSchool page gives the smoothing rule as Current ATR = [(Prior ATR x 13) + Current TR] / 14.

Example: suppose the prior ATR is 2.00 and the new bar's true range is 3.00. The new ATR is (2.00 x 13 + 3.00) / 14 = 29 / 14 = 2.07, rounded to two decimals.

Platforms can seed the average differently or use another smoothing method, so check your platform's settings and help page before comparing values.

ATR stop loss placement: a worked example

Some traders set a stop a multiple of ATR from entry. This example uses 2 x ATR. The 2 x multiple is an example value chosen for this page. Neither reference gives it, and it is not a recommended default. Neither reference states the stop arithmetic either, so the calculation below is shown as an illustration.

Because the three bars above are too few to form a 14-period ATR, the example takes an ATR of 2.00 as a stated assumption. Example: a long trade enters at 103.50, the close of bar 3. The stop distance is 2 x 2.00 = 4.00 price units, so the stop sits at 103.50 minus 4.00 = 99.50. The stop-loss order guide explains how a stop order behaves once price reaches that level.

  • Entry: 103.50 (EXAMPLE).
  • ATR: 2.00 (assumed for this example).
  • Stop distance: 2 x 2.00 = 4.00 price units.
  • Stop price: 103.50 minus 4.00 = 99.50.

The ATR figure sets where the stop sits. It says nothing about whether the trade is sound.

Sizing a position from an ATR stop

Once the stop distance is set, the amount you accept to lose sets the position size. Example: a US$10,000 account risking 1% has US$100 at risk. The stop distance is 4.00 price units per share, so the share count is 100 / 4.00 = 25 shares. At a 99.50 stop, the planned loss is 25 x 4.00 = US$100. Dividing the risk amount by the stop distance is simple arithmetic, and no reference above states it.

The position size calculator uses the same division for stock shares. Its Stock shares mode takes an entry price and a stop price, so enter 103.50 and 99.50. It has no ATR input, so you work out the ATR and the multiple yourself. Its page says: "Results are estimates before spreads, commissions, financing and slippage."

Where the references agree and where they differ

The two references agree on the true range rule and Wilder's authorship. They differ on interpretation. StockCharts says ATR "doesn't indicate price direction, just volatility". The MetaTrader 5 help page links high readings to market bottoms and to a higher probability of a trend change. This guide does not treat those readings as signals.

What each reference states about ATR
PointStockCharts ChartSchoolMetaTrader 5 help (ATR)
True range definitionGreatest of high minus low, high minus prior close, and low minus prior closeGreatest of the same three values
Default period14 periods, the default shown in SharpChartsNot stated on the help page
Period variantThe page also says Wilder often used an 8-period ATRNot stated on the help page
Smoothing ruleCurrent ATR = [(Prior ATR x 13) + Current TR] / 14Described as a moving average of true range; the formula is not restated
OriginatorWilder, New Concepts in Technical Trading Systems (1978)Welles Wilder, in the book named in the help page
Direction and interpretationStates that ATR does not indicate price direction, only volatilityLinks high ATR values to market bottoms and to a higher probability of a trend change; this guide does not treat that as a signal

Where a reference is silent, this guide does not fill the gap. Check your platform for its own settings.

Limits of average true range

  • ATR is in price units. A value of 2.00 on a stock is not comparable with 2.00 on a currency pair or a commodity. Compare ATR values only within the same instrument and timeframe.
  • ATR does not show direction. A rising ATR means bar ranges are growing. It does not mean price will rise.
  • ATR uses past bars. It describes how much price has moved, and it cannot forecast the next move.
  • High ATR readings do not forecast a trend change, even where a reference links them to one.
  • The period and smoothing change the value. A 14-period ATR on a 5-minute chart and a 14-period ATR on a daily chart describe different time spans.
  • An ATR stop is only a distance, so it can fill past its price after a gap. See the stop-loss guide.

Some channel indicators use ATR or a range measure to set a band around price. The Donchian and Keltner channel comparison shows how a Keltner channel uses an ATR-based width, while a Donchian channel uses the highest high and lowest low.

Risk disclosure

  • ATR describes past price movement. A high ATR does not mean a breakout is coming, and a low ATR does not mean the market will stay quiet.
  • ATR does not indicate direction. Using it alone to decide whether to buy or sell is not supported by the indicator's own definition.
  • A stop set at an ATR multiple can still fill far from its price in a gap, a fast market or a thin session.
  • Position size from an ATR stop depends on the account currency, the contract size and the broker's lot or share rules. Check these before trading.
  • The examples on this page use illustrative prices and an assumed ATR value. They are not forecasts or recommendations.
  • This page is educational and is not personal financial advice. Trading can lose money quickly.

RTX5 status

This guide explains average true range in general and does not describe an RTX5 feature. No RTX5 release record confirms which indicators, chart types or alerts the product includes. Its Windows desktop client is in preview, and the web and mobile clients are planned. A Google Play listing for Android is published, but the mobile client has no approved release record yet; check the product-availability record before relying on any RTX5 feature.

Check RTX5 product availability

Trust and methodology

How this research was prepared

We want you to be able to identify who owns the page, inspect the evidence, understand how tools were used, and challenge anything that looks wrong or out of date.

Accountable publisher

Published under the RTX5 Editorial Team byline. It identifies the responsible publishing organization; it does not imply that a named lawyer, regulator, financial adviser, or licensed expert approved this page.

Evidence you can inspect

3 primary references are listed on this page with context about what each one supports. The source set was checked on .

Assistance is disclosed

Automation and AI may help organize research, outline a page, or edit language. They are not treated as sources, are not presented as human experts, and do not remove the publisher's responsibility for the final page.

Questions readers ask

What does average true range tell you?

It tells you how much price has moved per bar on average, in the same units as the chart. True range includes the gap from the prior close, so it captures movement that a simple high-low range can miss. It measures volatility only. It does not give the direction of the next move or show whether a trade will work.

Is ATR a buy or sell signal?

No. ATR does not indicate price direction, according to the StockCharts ChartSchool definition. A rising ATR shows bar ranges growing and a falling ATR shows them shrinking, and neither reading says whether price will go up or down. This guide does not present ATR as a signal.

What is the default ATR period?

StockCharts ChartSchool says 14 periods is the default in SharpCharts. The same page says Wilder often used an 8-period ATR, so 14 is a platform default rather than Wilder's period. Shorter periods react faster to recent bars and longer periods are smoother. Choose the period on your platform and state it when you compare results.

How do I calculate a stop distance from ATR?

Choose a multiple, such as 2, and multiply it by the current ATR value. Subtract the result from the entry price for a long trade, or add it for a short. The multiple is your own choice, not a value from the indicator, and the 2 x used here is an example value with no source among the references. The example uses an assumed ATR of 2.00, so the stop sits 4.00 below a 103.50 entry, at 99.50.

Does an ATR stop guarantee my exit price?

No. An ATR-based stop works like any other stop loss. Once price reaches it, the order can fill at a worse price, particularly after a gap or in a fast market, so the stop distance is a calculation, not a promise.

Does RTX5 have an ATR indicator?

This guide does not describe an RTX5 feature. No RTX5 release record confirms which indicators the product includes, and its Windows desktop client is in preview while the web and mobile clients are planned. A Google Play listing for Android is published, but the mobile client has no approved release record yet. Check the product-availability record before relying on any RTX5 feature.