Average Directional Index (ADX): Definition and Formula

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, the 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.

Key Takeaways

  • Designed by Welles Wilder for commodity daily charts, the ADX is now used in several markets by technical traders to judge the strength of a trend.
  • The ADX makes use of a positive (+DI) and negative (-DI) directional indicator in addition to the trendline.
  • 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.

Average Directional Index (ADX) Formula

The ADX requires a sequence of calculations due to the multiple lines in the indicator.

 +DI = ( Smoothed +DM ATR  ) × 100 -DI = ( Smoothed -DM ATR  ) × 100 DX = ( +DI -DI +DI + -DI ) × 100 ADX = ( Prior ADX × 13 ) + Current ADX 14 where: +DM (Directional Movement) = Current High PH PH = Previous High -DM = Previous Low Current Low Smoothed +/-DM = t = 1 14 DM ( t = 1 14 DM 14 ) + CDM CDM = Current DM ATR = Average True Range \begin{aligned} &\text{+DI} = \left ( \frac{ \text{Smoothed +DM} }{ \text{ATR } } \right ) \times 100 \\ &\text{-DI} = \left ( \frac{ \text{Smoothed -DM} }{ \text{ATR } } \right ) \times 100 \\ &\text{DX} = \left ( \frac{ \mid \text{+DI} - \text{-DI} \mid }{ \mid \text{+DI} + \text{-DI} \mid } \right ) \times 100 \\ &\text{ADX} = \frac{ ( \text{Prior ADX} \times 13 ) + \text{Current ADX} }{ 14 } \\ &\textbf{where:}\\ &\text{+DM (Directional Movement)} = \text{Current High} - \text{PH} \\ &\text{PH} = \text{Previous High} \\ &\text{-DM} = \text{Previous Low} - \text{Current Low} \\ &\text{Smoothed +/-DM} = \textstyle{ \sum_{t=1}^{14} \text{DM} - \left ( \frac{ \sum_{t=1}^{14} \text{DM} }{ 14 } \right ) + \text{CDM} } \\ &\text{CDM} = \text{Current DM} \\ &\text{ATR} = \text{Average True Range} \\ \end{aligned} +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 HighPHPH=Previous High-DM=Previous LowCurrent LowSmoothed +/-DM=t=114DM(14t=114DM)+CDMCDM=Current DMATR=Average True Range

Calculating the ADX

  1. Calculate +DM, -DM, and the true range (TR) for each period. Fourteen periods are typically used.
  2. +DM = current high - previous high.
  3. -DM = previous low - current low.
  4. Use +DM when current high - previous high > previous low - current low. Use -DM when previous low - current low > current high - previous high.
  5. TR is the greater of the current high - current low, current high - previous close, or current low - previous close.
  6. 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.
  7. First 14TR = sum of first 14 TR readings.
  8. Next 14TR value = first 14TR - (prior 14TR/14) + current TR.
  9. Next, divide the smoothed +DM value by the smoothed TR value to get +DI. Multiply by 100.
  10. Divide the smoothed -DM value by the smoothed TR value to get -DI. Multiply by 100.
  11. The directional movement index (DMI) is +DI minus -DI, divided by the sum of +DI and -DI (all absolute values). Multiply by 100.
  12. To get the ADX, continue to calculate DX values for at least 14 periods. Then, smooth the results to get ADX.
  13. First ADX = sum 14 periods of DX / 14.
  14. After that, ADX = ((prior ADX * 13) + current DX) / 14.

What Does the ADX Tell You?

The ADX, negative directional indicator (-DI), and 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. On the other hand, if the -DI crosses above the +DI, and the 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. Meanwhile, when the ADX is below 20 the indicator is signaling that the price is trendless and that it might not be an ideal time to enter a trade.

Image

Image by Sabrina Jiang © Investopedia 2021

The Average Directional Index vs. The Aroon Indicator

The ADX indicator is composed of a total of three lines, while 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, as the ADX does. The calculations are different though, so crossovers on each of the indicators will occur at different times.

Limitations of Using the 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 and are 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.

What Is a Good Average Directional Index?

An ADX above 25 is considered strong. When the ADX is below 20, the trend is weak or the price is trendless.

Is ADX a Good Indicator?

Yes, but it provides better strategy signals when combined with price. Investors should first use ADX to determine whether prices are trending or non-trending and then choose the appropriate trading strategy for the condition.

What Is the Best Indicator to Use With ADX?

The ADX works best when combined with other technical indicators, like the relative strength index (RSI). While the ADX measures the intensity of the trend, the RSI can help with entries and exits by giving a time-based component to the trend.

The Bottom Line

The average directional movement index (ADX) is used by technical traders to determine trend strength as well as trend direction. Using the ADX, traders can determine if a market is trading or ranging, and then apply the adequate technical trading strategy. This can be a profitable strategy that involves minimal risk, which makes it a popular strategy among traders. There are other technical analysis indicators similar to the ADX, like the Parabolic SAR, Moving Averages, and Envelopes.

Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. Avatrade. "ADX Indicator Trading Strategies."

Compare Accounts
×
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.
Provider
Name
Description