The Average True Range (ATR) Volatility Indicator

In this article

  • Description of the ATR indicator
  • The Formula
  • The concept of 'True Range'
  • From TR to ATR
  • Using ATR as a volatility indicator
  • Using the Average True Range Indicator to set stoplosses
  • Final thoughts

Description of the ATR indicator

The Average True Range (ATR), developed by J. Welles Wilder, is an indicator that measures the average volatility of the underlying asset. To do so, it calculates the average of the True Range over a predetermined period.

The main advantage of the ATR indicator is that it also takes into account the 'missing volatility' created by any gaps between the daily ranges. To be clear, this indicator does not serve to determine/confirm any direction of the price or to show buy or sell moments. This indicator is however very suitable to determine the stoploss, taking into account the applicable volatility. More on this later in this article.

The Formula (for the fans ;-)

The concept of 'True Range' (TR)

To properly understand the concept of ATR, we must first take a moment to consider the concept of True Range. This is defined as 'the greater of one of the following':

  • Method 1: Today's highest price minus today's lowest price
  • Method 2: The absolute value of today's highest price minus yesterday's closing price
  • Method 3: The absolute value of today's lowest price minus yesterday's closing price

    Absolute values are used to ensure positive numbers. Thus, all three methods measure the distance between two price levels. The 'True Range' always withholds the method whose result gives the greatest distance.

Method I

Method II

Method III

By default, the ATR indicator is usually set to 14 or 22 periods, which can be days, weeks but also intraday time frames such as 1 hour or 5 minutes. For the first period of the total range over which the ATR average is calculated, the highest and lowest price of that first period will always be retained. This is so because obviously there must be a beginning. Moreover, the very first 14-day ATR period will be based on the average of the daily True Range values of the last 14 days. Only from day 15 onwards will the data be smoothed by including the ATR value of the previous period.

From TR to ATR

We know by now that the ATR is calculated as an average of the TR values, which is why this indicator is also shown as a moving average. This gives a more accurate picture of the average volatility of the underlying asset to which the indicator is applied.

Because the calculation is done based on absolute values, you will notice that shares that are priced low will show lower ATR values than shares quoted in a higher price segment.

With a closing price at $3.58, ATOS has an ATR value of 0.32 (average ATR over the past 14 days). Compare that to TMO stock which has an ATR value of 13.26. TMO is quoted at a current price of $596.8.

So never try to compare ATR values between different shares. The indicator was never intended for this purpose. The big difference in ATR values between shares does not affect the usefulness of the indicator to show the individual volatility of that share.

Using ATR as a volatility indicator

Using the ATR to visualize volatility is rather easy. However, there is one detail to keep in mind, the indicator says nothing about the direction the stock is going. A rising indicator indicates higher volatility. This can be in both rising and falling markets. Take a look at the ATR (14) evolution of the Apple stock (AAPL) :

  • A higher ATR value (1) is usually the result of a rising or falling underlying value while a lower ATR (2) is a sign that the price movement is rather calm.

  • An ATR that rises sharply in a short time (3) is a sign that the momentum with which the price rises or falls is very aggressive. This is characterized by the presence of gaps between trading periods.

  • An ATR value which drops quickly (4) indicates that the momentum has dropped very abruptly.

  • An ATR which moves sideways (5) indicates little movement, the price quietly flows on within a more or less defined range.

Using the Average True Range Indicator to set stoplosses

Undoubtedly the most practical application of the ATR indicator is that it allows you to determine your stoploss level, taking into account the volatility of the price. Let's take the chart of Agilent Technologies as of July 23, 2021.

The price had been moving sideways between $151.30 and $146.40 for some time until that day. The ATR indicator is also trading at a low point, confirming very low volatility. On July 23, the stock rises 1.3% and closes above the highest point of the sideways range. This provides an excellent opportunity to take a long position.

Where do we position the initial stoploss? You could opt to place the stoploss just below the $150 level. At first glance that would not seem to be a bad choice. Unfortunately, this resulted in a loss because the stoploss was hit just two days later. Losses are inevitable even with the most successful trading strategies. But could the ATR indicator have added value here in determining the first stoploss level?

Suppose for a moment that we had indeed taken the ATR value into account before setting the stoploss. A general rule of thumb is that your initial stoploss in swing trading should be at least 2 ATR. The reason for this is to not get stopped out too quickly by an intraday move. The ATR value at Agillent Technologies was at 1.75 at the time of entry (July 23, 2021) (the chart below shows the ATR value on July 27, 2021).

If we calculate twice the ATR as the minimum distance we get to 1.75*2= 3.5. So a stoploss at 2 ATR from the entry price ($151.33) would equate to $147.83 (lower purple horizontal line).And even with an ATR distance of only 1.5 times the ATR value, this would mean that the initial stoploss would be at $148.7. In that case neither stop would have been hit on the decline after the initial breakout because the post-breakout low was at $148.86. In the case of Agilent Technologies, that makes a big difference when we consider the further price movement....

TIP: ChartMill offers the ability to enter a trailing stop based on an ATR value to protect your open position. Read more in this article.

Final thoughts

The ATR indicator is a popular indicator, especially with the more experienced traders. Novice traders might overlook it because this indicator does not generate the typical buy or sell signals that they get from so many other indicators. And that's a real pity because this indicator definitely deserves a place in the toolbox of every trader who builds his or her trading strategy mainly on price action. Even if you are a pure price action trader the indicator is very useful to avoid the temptation to place the stoploss too close to your entry price and get stopped out too soon.

Trade safe!

Questions or comments after reading this article? Contact us using the contact button on the bottom left of your screen!

If you enjoyed reading this article, be sure to follow us on Facebook so you can stay updated on future articles.

Curious about our daily ChartMill trading setups? Be sure to follow us on Instagram.