Average directional movement index

ADX Indicator (technical trend indicator).
ADX Indicator.

The average directional movement index (ADX) was developed in 1978 by J. Welles Wilder as an indicator of trend strength in a series of prices of a financial instrument. ADX has become a widely used indicator for technical analysts, and is provided as a standard in collections of indicators offered by various trading platforms.

Calculations

The ADX is calculated from two indicators developed by Wilder: the positive directional indicator (DI+) and the negative directional indicator (DI−).

Let Ht, Lt, and Ct denote the high, low, and closing prices in period t, respectively. Define the upward and downward movements as

Ut=Ht−Ht−1,Dt=Lt−1−Lt.

The positive and negative directional movements are

DMt+={Ut,if Ut>Dt and Ut>0,0,otherwise,

and

DMt−={Dt,if Dt>Ut and Dt>0,0,otherwise.

For a sequence Xt, write Sn[X]t for Wilder's n-period smoothed moving average. It is initialized with the arithmetic mean of the first n available observations and subsequently calculated recursively as

Sn[X]t=(n−1)Sn[X]t−1+Xtn.

Wilder originally used n=14 periods.

The true range is

TRt=max⁡{Ht−Lt,|Ht−Ct−1|,|Lt−Ct−1|},

and the average true range is

ATRt=Sn[TR]t.

The directional indicators are

DIt+=100Sn[DM+]tATRt,DIt−=100Sn[DM−]tATRt.

The directional index is

DXt=100|DIt+−DIt−|DIt++DIt−.

Finally, the ADX is obtained by smoothing the directional index:

ADXt=Sn[DX]t.

Thus, after initialization with the arithmetic mean of the first n available values of DXt, subsequent values satisfy

ADXt=(n−1)ADXt−1+DXtn.

The ratio formulas above apply when their denominators are nonzero.

Variations of the calculation use other moving averages, including an exponential moving average, a weighted moving average, or an adaptive moving average.

Interpretation

The ADX does not indicate trend direction or momentum, only trend strength. It is a lagging indicator; that is, a trend must have established itself before the ADX will generate a signal that a trend is under way. ADX will range between 0 and 100. Generally, ADX readings below 20 indicate a weak trend, while readings above 40 indicate a strong trend. An exceptionally strong trend is typically indicated by readings above 50. Alternative interpretations have also been proposed and adopted by technical analysts. For example, ADX has been described as a reliable coincident indicator of classical chart pattern development, with readings below 20 often occurring shortly before pattern breakouts. The value of the ADX is proportional to the slope of the trend. The slope of the ADX line is proportional to the acceleration of the price movement (changing trend slope). If the trend is a constant slope then the ADX value tends to flatten out.

Timing

Various market timing methods have been devised using ADX. One of these methods is discussed by Alexander Elder in his book Trading for a Living. One of the best buy signals is when ADX turns up when below both Directional Lines and +DI is above -DI. You would sell when ADX turns back down.