Skip to content

CFDs are leveraged products. CFD trading may not be suitable for everyone and can result in losses that exceed your deposits, so please ensure that you fully understand the risks involved. CFDs are leveraged products. CFD trading may not be suitable for everyone and can result in losses that exceed your deposits, so please ensure that you fully understand the risks involved.

Trading with the average true range indicator

The average true range (ATR) indicator is a technical indicator that was first described in 1978 by famous technical analyst J. Welles Wilder Jr. Here, we explain how the ATR works and how to use it in your trading.

Traders Source: Bloomberg

What is the average true range indicator?

The average true range (ATR) indicator is one of a number of popular trading indicators, and it is used to track volatility in a given time period. It moves up or down according to whether an asset’s price movements are becoming more or less dramatic – with a higher ATR value representing greater volatility in the underlying market, and a lower ATR representing the opposite.

You can use the ATR to establish where to place a stop or limit order, as well as when you might want to open or close a trade. This is because, by tracking volatility in a given time frame, ATR shows when price movements might become more or less sporadic as volatility increases or decreases.

How does the ATR work?

The ATR works by creating an average of the true range, which is the classic measurement of the range of movement in an asset’s price. The average true range, in contrast, is a smoothed moving average of the true range values, which seeks to make assessing an asset’s volatility easier and more accessible for traders.

Learn about moving average trading strategies

ATR was originally developed for the commodities market, but it can also be applied to forex, stocks and indices. It relies exclusively on historical price action data, but it does not itself show price movements.

The price chart below shows the ATR for the FTSE 100 over an eight-month period in 2019. Eight months is a particularly long time frame to use for ATR, but it illustrates how the indicator tracks volatility clearly for the purpose of this example.

The ATR is the blue line underneath the candlestick chart, and it shows that the price of the FTSE 100 became more volatile around late July – because the ATR chart spikes upward as the price of the FTSE 100 falls.

ATR indicator

How to calculate the average true range

To calculate the average true range, you would first need to calculate the true range. You would do this by taking the largest of these three calculations:

  • The current high minus the previous close
  • The current low minus the previous close
  • The current high minus the current low

You would repeat this throughout a specific time frame to achieve a moving average of a series of true ranges. A 14-period moving average is recommended as a basis from which to work out the average true range, usually over a 10- to 14-day period. For shorter time frames – hours for example – it’s recommended to use between two to 10 periods; for longer time frames – weeks or months – 20 to 50 periods are recommended.

For the table below, the figures have been used to calculate a 14-day ATR over a 10-day period. The true range for each day was calculated as described in the bullet points above.

The first true range value – taken for 1 August – is simply the current high minus the current low because the previous close cannot be used, and the first average true range – taken for 14 August – is an average of the 14 previous true ranges. After that, to achieve each subsequent average true range you would multiply the previous 14-day ATR by 13, add the most recent day’s true range and then divide the result by 14.

High Low Close True range Average true range
1 August 46.78 46.34 46.43 0.44
2 August 47.32 46.64 46.87 0.89
3 August 47.45 46.43 46.76 1.02
4 August 47.20 46.83 46.92 0.44
5 August 47.86 47.20 47.23 0.94
6 August 47.90 47.27 47.49 0.67
7 August 48.23 47.34 47.34 0.89
8 August 47.90 47.23 47.43 0.67
9 August 47.56 46.34 46.83 1.22
10 August 47.45 46.34 46.47 1.11
11 August 47.67 46.43 46.56 1.24
12 August 47.69 46.83 47.32 1.13
13 August 48.67 47.20 47.53 1.47
14 August 47.99 47.47 47.78 0.52 0.90
15 August 48.32 47.47 47.63 0.85 0.90
16 August 47.97 47.41 47.56 0.56 0.88
17 August 47.98 47.21 47.33 0.77 0.87
18 August 47.89 47.46 47.64 0.56 0.85
19 August 48.34 47.55 47.87 0.79 0.84
20 August 48.32 47.87 47.98 0.45 0.81
21 August 48.39 47.56 47.84 0.83 0.82
22 August 48.11 47.25 47.37 0.86 0.82
23 August 48.02 47.67 47.79 0.65 0.81

From the ATR calculation, a trader can tell whether an asset is experiencing greater or lower volatility in a particular trading session. For this particular asset, the ATR remained below 1, and it moved within a narrow band of between 0.81 and 0.90 – meaning that it wasn’t experiencing high levels of volatility. As a result, this asset might be an attractive option for a trader who doesn’t have a large appetite for risk.

Learn more about risk management

How to use the average true range indicator in your trading

In a particularly volatile market, you might want to implement a trailing stop at a certain amount of points behind the current market price. This will help to lock in profit while also protecting against negative movements if an asset’s price is unpredictable.

The ATR indicator can help you do this by showing when volatility is rising or falling. If this is the case, you might want to reduce or increase the level at which you have placed a trailing stop to secure your profit while also protecting against potential heavy losses.

Alternatively, you might want to put a guaranteed stop on a position if you want to close out any possible losses at a specified and certain level. However, a guaranteed stop will incur a premium if it is triggered.

While the ATR is a useful tool for assessing volatility levels, it should be used alongside other technical indicators to confirm your decisions about whether to open or close a position. Other indicators that can help assess volatility levels include Bollinger bands and Keltner channels.

Several online trading platforms have a function to overlay the ATR onto trading charts. These include the IG online trading platform and MetaTrader 4 (MT4) – a popular platform for algorithmic trading. This makes it easy to track volatility in an underlying market without having to calculate the average true range manually.

Summing up the ATR

  • ATR is a smoothed moving average of volatility over a given time frame
  • It can be used on the forex, index, stock and commodity markets
  • A 14-day moving average is the recommended basis for the average true range, but other periods can be used for shorter or longer timeframes
  • ATR is often used for assessing when and where to enter or exit a position, as well as at what price level to implement a trailing or guaranteed stop
  • However, while ATR is useful in these respects, you should use it in conjunction with other indicators to confirm forecasts

IGA, may distribute information/research produced by its respective foreign affiliates within the IG Group of companies pursuant to an arrangement under Regulation 32C of the Financial Advisers Regulations. Where the research is distributed in Singapore to a person who is not an Accredited Investor, Expert Investor or an Institutional Investor, IGA accepts legal responsibility for the contents of the report to such persons only to the extent required by law. Singapore recipients should contact IGA at 6390 5118 for matters arising from, or in connection with the information distributed.

The information/research herein is prepared by IG Asia Pte Ltd (IGA) and its foreign affiliated companies (collectively known as the IG Group) and is intended for general circulation only. It does not take into account the specific investment objectives, financial situation, or particular needs of any particular person. You should take into account your specific investment objectives, financial situation, and particular needs before making a commitment to trade, including seeking advice from an independent financial adviser regarding the suitability of the investment, under a separate engagement, as you deem fit.

Please see important Research Disclaimer.

Explore the markets with our free course

Discover the range of markets you can trade on - and learn how they work - with IG Academy's online course.

You might be interested in…

Find out what charges your trades could incur with our transparent fee structure.

Discover why so many clients choose us, and what makes us a world-leading provider of CFDs.

Stay on top of upcoming market-moving events with our customisable economic calendar.