Fact checked by Pete Rathburn
The average directional index (ADX) is a technical indicator used by traders to determine the strength of a financial security’s price trend. It helps them reduce risk and increase profit potential by trading in the direction of a strong trend. Many traders consider the ADX to be the ultimate trend gauge because it is so reliable.
ADX quantifies trend strength by measuring the degree of directional movement in price. ADX calculations are based on a moving average of price range expansion or contraction over a given period. The default setting is 14 periods, although other settings can be used.
ADX can be used with any financial security, including stocks, exchange-traded funds, and futures.
What You Need to Know
- The average directional index, known as ADX, is a technical tool used by traders to gauge trend strength.
- Trading with the trend is considered a fundamental trading practice that reduces risk and increases profit potential.
- ADX calculations use a moving average of price range expansion or contraction.
- ADX is less useful when prices enter a trading range.
- While ADX is a lagging indicator, it is considered reliable.
How ADX Works
ADX is plotted as a single line with values ranging from 0 to 100. It is non-directional, meaning it registers trend strength, not whether price is trending up or down.
The indicator is usually plotted in the same window as the two directional movement indicator (DMI) lines from which ADX is derived (shown below).
When the +DMI is above the -DMI, prices are moving up, and ADX measures the strength of the uptrend. When the -DMI is above the +DMI, prices are moving down, and ADX measures the strength of the downtrend.
The chart above shows an uptrend changing to a downtrend. Notice how ADX rose during the uptrend, when +DMI was above -DMI. When price reversed, the -DMI crossed above the +DMI, and ADX fell as the uptrend died, then eventually rose again as the downtrend gained momentum.
Calculating the ADX
The ADX is calculated as follows:
Step 1: Calculate the Directional Movement (DM)
Directional movement is broken down into 2 directions: upward and downward.
Plus directional movement (+DM) = Current High – Previous High
Minus directional movement (-DM) = Previous Low – Current Low
If both +DM and -DM are positive for the same period, only the larger value is used, while the indicator with the smaller value is set to 0.
Step 2: Calculate the True Range (TR)
The True Range (TR) is used to normalize directional movements. It takes into account price gaps and daily volatility.
The True Range is the largest of the following values for a given period:
- Current High – Current Low
- Current High – Previous Close
- Current Low – Previous Close
Step 3: Calculate the Smoothed Directional Movement Indicators (+DI & -DI)
+DI represents the percentage strength of the upward movement.
+DI14 = (Smoothed + DM14) /(ATR14) * 100
-DI14 = (Smoothed – DM14)/(ATR14) * 100
The default period is 14. In this case, the Average True Range (ATR) is the moving average of the True Range values over the same 14-period window.
Step 4: Calculate the Directional Movement Index (DX)
The Directional Movement Index (DX) quantifies the absolute difference between +DI and -DI, relative to their sum.
DX = (|+DI14 – -DI14| / |+DI14 + -DI14| ) * 100
This value provides an understanding of how separated the two directional indicators are.
Step 5: Calculate the Average Directional Index (ADX)
Lastly, the Average Directional Index (ADX) is obtained by smoothing the DX values over a defined period. This is usually done using a Wilder Moving Average.
The first ADX value is the average of the first n DX values, where n is the number of periods.
Subsequent ADX Values: ADX = (Previous ADX * (n-1) + Current DX) / n
This smoothing makes the ADX line less volatile and more useful for gauging the trend.
How to Use the ADX Indicator
Traders use the ADX to assess the strength of a trend. The ADX also helps determine whether the market is trending or range-bound.
Generally, ADX values below 20 indicate a non-trending or sideways market, suggesting that range-bound strategies are more effective. However, as ADX moves between 20 and 25, it signals a possible trend formation, and traders should watch for further confirmation.
When the ADX rises above 25, it confirms a strong trend, making trend-following strategies like moving average crossovers more viable. Once ADX climbs above 50, the trend is very strong. But at these levels traders should exercise caution as the market may be overheated, and corrections may be more likely.
The ADX is most useful when paired with the +DI and -DI lines, which indicate the direction of the trend. For example, if +DI crosses above -DI and ADX is above 20, it suggests an uptrend is forming and is an ideal time to consider a long position. Conversely, if -DI crosses above +DI with ADX rising above 25, a strong downtrend is forming.
Trend Momentum
Momentum is the velocity of price changes. ADX clearly indicates when the trend is gaining or losing momentum. A series of ADX peaks is a visual representation of overall trend momentum.
Increasingly higher ADX peaks mean trend momentum is increasing. Increasingly lower ADX peaks mean trend momentum is decreasing. Any ADX peak above 25 is considered to still be registering a strong trend, even if it is a lower peak.
In an uptrend, price can still rise on decreasing ADX momentum because overhead supply is eaten up as the trend progresses (shown below).
Knowing when trend momentum is increasing gives a trader the confidence to let profits run instead of exiting before the trend has ended. However, a series of lower ADX peaks is a warning to watch prices and manage risk.
The ADX can also show momentum divergence. When price makes a higher high and ADX makes a lower high, there is negative divergence, or non-confirmation. In general, divergence is not a signal of a reversal, but rather a warning that trend momentum is changing. It may be appropriate to tighten the stop-loss or take partial profits.
Any time the trend changes character, it is time to assess and/or manage risk. Divergence can lead to trend continuation, consolidation, correction, or reversal (below).
Strategic Use of ADX
Price is the single most important signal on a chart. Read price first, and then read the ADX in the context of what price is doing. When any indicator is used, it should add something that price alone cannot easily tell us. ADX tells traders about the strength of the trend, whether to help them avoid false breakouts or enter strong ones.
The best trading decisions are based on objective signals, not emotion.
ADX and Crossovers
The ADX is useful in confirming crossovers of the +DI and -DI lines. For example, if the +DI crosses above the -DI, indicating upward movement, an ADX reading above 25 could be used to confirm a strong trend, and therefore entry into a long position. Likewise, if the -DI crossed above the +DI an ADX reading above 25 can confirm a short entry.
Note that some traders use an ADX reading of 20 to confirm a trade entry on a crossover of the +DI and -DI lines. This can mean entering trades earlier, but can also result in more false signals. It’s up to each individual trader to determine what best suits them.
ADX and Breakouts
The best trends rise out of periods of price consolidation. Breakouts are not hard to spot, but they often fail and end up being a trap. But the ADX can help confirm a breakout. When it rises from below 20 to above 25, for example, a strong trend has been established and is likely to be sustained. On the other hand, if the ADX remains below 25, it likely indicates a false breakout, and if it remains below 20, it’s even more likely to be a false breakout.
Traders can also use the ADX to monitor the continuation of trends, with a rising ADX possibly signaling that it’s time to add to a position or adjust stops higher.
During periods of consolidation, a low ADX shows that the market is resting, but as the ADX begins to rise, it can signal an impending breakout. But it’s important to beware a rising ADX below 20—while it indicates that price movement is gathering strength, it hasn’t confirmed a trend. Moreover, for added reliability, a rising ADX with increased volume provides strong evidence of a proper breakout with momentum.
By strategically using ADX during breakouts, traders can boost confidence in their setups, manage risks effectively, and focus on high-probability trades.
ADX As a Rangebound Indicator
It is often hard to pinpoint when price moves from trending to rangebound. The ADX shows when the trend has weakened so much that, at the very least, the trend is over and price is likely entering a period of consolidation. Range conditions exist when the ADX drops below 20 and stays there for an extended time. In a trading range, price basically moves sideways, requiring different strategies than trending markets do.
After using the ADX to identify a consolidation period, choose the appropriate trading strategy. In trending conditions, entries are made on pullbacks and taken in the direction of the trend. In range conditions, trend-trading strategies are not appropriate. However, trades can be made on reversals at levels of support (go long) and resistance (short).
Advantages
-
Measures Trend Strength
-
Helps Avoids False Signals
-
Adaptable to Different Markets and Timeframes
-
Indicates Trend Continuation or Exhaustion
-
Pairs Well With Other Indicators
Disadvantages
-
Lagging Indicator
-
Limited Predictive Capability
-
Not Effective in Choppy Markets
-
Can Give False Signals in Rangebound Markets
Real-World Example of Trading with the ADX
A gold (XAUUSD) trader is trading on a one-hour candlestick chart and observed the metal consolidating, with the ADX declining and the gold prices oscillating between 2580 and 2530. The market shows no clear trend during this phase, indicating that momentum is weak.
The trader then receives a potential buy signal when a positive DMI crossover occurs, accompanied by a rising ADX, a clear indication that trend strength is starting to pick up. This signal is confirmed when gold closes above the 2577.45 resistance level, prompting the trader to enter a long position.
Following the breakout, gold’s momentum builds sharply, as evidenced by the ADX rising from 29 to 65. The DMI continues to show a positive crossover, reinforcing the strength of the uptrend. Confident in the direction and strength of the trend, the trader chooses to hold the position.
Thereafter, the metal begins to consolidate between 2620 and 2640, and the ADX starts declining from its highs, indicating weakening trend strength and even showing some negative divergence. Recognizing that momentum may be waning, the trader prudently decides to exit the trade at 2650, locking in gains before any pullback.
How Does the ADX Quantify Trend Strength?
The ADX quantifies trend strength by measuring directional movement over a given time frame. It provides traders with specific numbers (from 0 to 100) that represent strong or weak price trends. Traders can simply refer to the numbers to quickly assess the strength of a trend. When the ADX number rises, the trend is strengthening. When it declines, the trend is weakening. An ADX above 25 is considered to represent a strong trend.
Is the ADX Reliable?
The ADX is widely used and is considered by many traders to be very reliable as a gauge of trend strength. Traders can easily alter the time period to meet their needs.
What Are Limitations of the ADX?
The ADX doesn’t offer much help in rangebound markets. Also, it is a lagging indicator and offers no predictive power. Finally, the ADX says nothing about the actual price of a security, just the strength of a trend. So it’s wise to use the ADX along with other technical indicators to determine entry and exit points.
The Bottom Line
The biggest profits come from the strongest trends. The ADX not only identifies trending conditions, it quantifies the strength of the trend, offering traders a major edge.
In addition, the ADX identifies trading-range conditions, so a trader won’t get stuck trying to trade the trend when there isn’t one. Moreover, the ADX shows when price has broken out of a range with sufficient strength to use trend-trading strategies.
The ADX also alerts traders to changes in trend momentum, so they can ensure that a risk management plan is in place.