Average true range


Average true range is a technical analysis volatility indicator originally developed by J. Welles Wilder, Jr. for commodities. The indicator does not provide an indication of price trend, simply the degree of price volatility.
The average true range is an N-period smoothed moving average of the true range values. Wilder recommended a 14-period smoothing.

Calculation

The range of a day's trading is simply. The true range extends it to yesterday's closing price if it was outside of today's range.
The true range is the largest of the:
The formula can be simplified to:
The ATR at the moment of time t is calculated using the following formula:
The first ATR value is calculated using the arithmetic mean formula:
N.B. This first value is the first in the time series and is n periods from the beginning of the chart.
The idea of ranges is that they show the commitment or enthusiasm of traders. Large or increasing ranges suggest traders prepared to continue to bid up or sell down a stock through the course of the day. Decreasing range suggests waning interest.

Applicability to futures contracts vs. stocks

Since true range and ATR are calculated by subtracting prices, the volatility they compute does not change when historical prices are back-adjusted by adding or subtracting a constant to every price. Back-adjustments are often employed when splicing together individual monthly futures contracts to form a continuous futures contract spanning a long period of time. However the standard procedures used to compute volatility of stock prices, such as the standard deviation of logarithmic price ratios, are not invariant. Thus futures traders and analysts typically use one method to calculate volatility, while stock traders and analysts typically use standard deviation of log price ratios.

Use in position size calculation

Apart from being a trend strength gauge, ATR serves as an element of position sizing in financial trading. Current ATR value can be used as the size of the potential adverse movement when calculating the trade volume based on trader's risk tolerance. In this case, ATR provides a self-adjusting risk limit dependent on the market volatility for strategies without a fixed stop-loss placement.