What is the Average Directional Index (ADX)?
The average directional index (ADX) is a technical analysis indicator used by some traders to determine the strength of a trend. The trend can be either up or down, and this is shown by two accompanying indicators, the Negative Directional Indicator (-DI) and the Positive Directional Indicator (+DI). Therefore, ADX commonly includes three separate lines. These are used to help assess whether a trade should be taken long or short, or if a trade should be taken at all.
- Designed by Welles Wilder for commodity daily charts, but can be used in other markets or other timeframes.
- The price is moving up when +DI is above -DI, and the price is moving down when -DI is above +DI.
- Crosses between +DI and -DI are potential trading signals as bears or bulls gain the upper hand.
- The trend has strength when ADX is above 25. The trend is weak or the price is trendless when ADX is below 20, according to Wilder.
- Non-trending doesn't mean the price isn't moving. It may not be, but the price could also be making a trend change or is too volatile for a clear direction to be present.
The Formulas for the Average Directional Index
(ADX) Indicator are
The ADX requires a sequence of calculations due to the multiple lines in the indicator.
+DI=(ATR Smoothed +DM)×100-DI=(ATR Smoothed -DM)×100DX=(∣+DI+-DI∣∣+DI−-DI∣)×100ADX=14(Prior ADX×13)+Current ADXwhere:+DM (Directional Movement)=Current High−PHPH=Previous High-DM=Previous Low−Current LowSmoothed +/-DM=∑t=114DM−(14∑t=114DM)+CDMCDM=Current DMATR=Average True Range
Calculating the Average Directional Movement Index (ADX)
- Calculate +DM, -DM, and True Range (TR) for each period. 14 periods are typically used.
- +DM = Current High - Previous High.
- -DM = Previous Low - Current Low.
- Use +DM when Current High - Previous High > Previous Low - Current Low. Use -DM when Previous Low - Current Low > Current High - Previous High.
- TR is the greater of the Current High - Current Low, Current High - Previous Close, or Current Low - Previous Close.
- Smooth the 14-period averages of +DM, -DM, and TR. The TR formula is below. Insert the -DM and +DM values to calculate the smoothed averages of those.
- First 14TR = Sum of first 14 TR readings.
- Next 14TR value = First 14TR - (Prior 14TR/14) + Current TR
- Next, divide the smoothed +DM value by the smoothed TR value to get +DI. Multiply by 100.
- Divide the smoothed -DM value by the smoothed TR value to get-DI. Multiply by 100.
- The Directional Movement Index (DX) is +DI minus -DI, divided by the sum of +DI and -DI (all absolute values). Multiply by 100.
- To get the ADX, continue to calculate DX values for at least 14 periods. Then, smoothe the results to get ADX
- First ADX = sum 14 periods of DX / 14
- After that, ADX = ((Prior ADX * 13) + Current DX) /14
What Does the Average Directional Index (ADX) Tell You?
The Average Directional Index (ADX) along with the Negative Directional Indicator (-DI) and the Positive Directional Indicator (+DI) are momentum indicators. The ADX helps investors determine trend strength while -DI and +DI help determine trend direction.
The ADX identifies a strong trend when the ADX is over 25 and a weak trend when the ADX is below 20.
Crossovers of the -DI and +DI lines can be used to generate trade signals. For example, if the +DI line crosses above the -DI line and the ADX is above 20, or ideally above 25, then that is a potential signal to buy.
If the -DI crosses above the +DI, and ADX is above 20 or 25, then that is an opportunity to enter a potential short trade.
Crosses can also be used to exit current trades. For example, if long, exit when the -DI crosses above the +DI.
When ADX is below 20 the indicator is signaling that the price is trendless, and therefore may not be an ideal time to enter a trade.
The Difference Between Average Directional Index (ADX) and the Aroon Indicator
The ADX indicator is composed of a total of three lines. The Aroon Indicator is composed of two. The two indicators are similar in that they both have lines representing positive and negative movement, which helps to identify trend direction. The Aroon reading/level also helps determine trend strength, like the ADX does. The calculations are different though, so crossovers on each of the indicators will occur at different times.
Limitations of Using the Average Directional Index (ADX)
Crossovers can occur frequently. Sometimes too frequently, resulting in confusion and potentially lost money on trades that quickly go the other way. These are called false signals. This is more common when ADX values are below 25. That said, sometimes the ADX reaches above 25, but is only there temporarily and then reverses along with the price.
Like any indicator, the ADX should be combined with price analysis and potentially other indicators to help filter signals and control risk.