The Directional Movement Index (DMI) and Average Directional Index (ADX), developed by J. Welles Wilder Jr., are technical analysis tools used to determine trend orientation and momentum. In this guide, you’ll learn how to use it in your trades.
To trade, you need to know how to identify market direction and trend strength. The Directional Movement Index (DMI) and Average Directional Index (ADX), developed by J. Welles Wilder Jr., are technical analysis tools used to determine trend orientation and momentum.
OANDA provides a regulated trading environment under the CFTC and NFA, offering access to 68 forex pairs and a selection of cryptocurrencies through a partnership with Paxos. You can execute strategies manually or automate setups using MetaTrader 4 (MT4) and the v20 REST Trading API.
What is the DMI ADX indicator?
The DMI ADX indicator is a multi-faceted technical tool designed to measure both the direction and the strength of a price trend. Rather than relying on a single line that can lag significantly behind price action, the DMI ADX system uses three distinct lines that work in tandem to give a comprehensive view of market momentum.
The origins and core purpose of DMI ADX
Introduced in the 1978 book, New Concepts in Technical Trading Systems, by J. Welles Wilder the Directional Movement Index (DMI) and Average Directional Index (ADX) were designed to see whether a market is trending or moving sideways. The core purpose of the system is to filter out false signals and low-probability trades by confirming when a genuine, tradeable trend is underway.
Deconstructing the DMI ADX: +DI, -DI, and the ADX line
The indicator is shown on a charting platform as three overlapping lines, usually calculated over a default period of 14 days.
Understanding Positive Directional Movement (+DI)
The Positive Directional indicator, typically labeled +DI, measures upward price momentum. When the current high is higher than the previous high, it registers positive directional movement. A rising DI+ line indicates that the bulls are gaining control and driving the price upward.
Understanding Negative Directional Movement (-DI)
The Negative Directional indicator, or -DI, measures downward price momentum. It calculates the difference when the current low is lower than the previous low. A rising -DI line shows that selling pressure is escalating and the bears are driving the market down.
The Average Directional Movement index (ADX)
The ADX line is the centerpiece of the system. It doesn’tt indicate whether the market is going up or down; instead, it’s completely direction-neutral. It simply measures the velocity and strength of the underlying trend. Whether the price is crashing downward or skyrocketing upward, a rising ADX means the current trend is intensifying.
How the DMI ADX is calculated
The mathematical foundation of the indicator relies on comparing the highs and lows of consecutive sessions to determine the True Range (TR). The system isolates the directional movement by checking whether today's range extends higher or lower than yesterday's range.
- If today's high minus yesterday's high is positive and greater than yesterday's low minus today's low, the Positive Directional Movement (+DM) equals that difference.
- These values are smoothed out over a set timeframe (usually 14 days) and divided by the True Range to create +DI and -DI.
- Finally, the ADX is calculated by taking a smoothed moving average of the absolute difference between +DI and -DI. Thanks to modern charting platforms like MT4 and custom builds through the OANDA v20 REST API, these complex calculations automatically happen in the background without you needing to do anything.
Interpreting ADX values: Measuring trend strength
To use the ADX effectively, you should look at specific numerical thresholds on a scale from 0 to 100.
Strong trends vs. weak trends
An ADX value above 25 is widely considered as the threshold for a strong, sustainable trend. When the ADX climbs above 25 and continues to rise toward 50, it suggests that the market is in a powerful trending phase where trend-following strategies yield the best results.
Non-trending (sideways) markets
Conversely, an ADX value below 20 potentially indicates a weak trend or a completely directionless, choppy market. When the ADX lingers in this lower zone, prices may be consolidating within a support and resistance range, signaling that it may be beneficial to pivot to different strategies.
DMI ADX in action: Applying it to the US market
Applying the DMI ADX to a broad range of US asset classes will give you a potential view of price momentum. While OANDA focuses primarily on spot forex and crypto through our partnership with Paxos, monitoring US equity benchmarks is a crucial component of cross-asset analysis, as stock market trends directly influence the strength of the US Dollar (USD).
Identifying strong trends in US stocks and indices
Major US stock indices often show prolonged, institutional-driven trends that are captured by the ADX. For example, if a major catalyst hits the US markets, institutional accumulation can cause the index to trend for months at a time.
Case study: Using DMI ADX on the S&P 500
During times of aggressive monetary easing or strong corporate earnings cycles, a daily chart of the S&P 500 will frequently show the ADX line crossing above 25. If the +DI line remains safely above the -DI line while the ADX rises to 40, it confirms a very healthy macroeconomic bull run. If you’re an algorithmic trader, you can feed these index-level ADX readings into your automated trading scripts through OANDA’s API to adjust risk parameters across related currency pairs like the EUR/USD or AUD/USD.
Spotting weak trends and consolidation phases
US markets do not trend indefinitely; they spend a substantial amount of time processing gains. When a US index or a highly capitalized asset hits a psychological resistance level, the ADX line will often tilt downward and fall below 20. This would let you know that buying momentum has stalled and the market is transitioning into a sideways consolidation squeeze, a period where breakout strategies are highly susceptible to "fakeouts” (a false breakout where the price temporarily moves beyond a key level of support, resistance, or a trendline, but then quickly reverses direction.)
Combining DMI ADX with other indicators for US market analysis
No single technical tool is flawless. To build a more resilient trading setup for your trades, you can consider combining the DMI ADX framework with complementary indicators.
DMI ADX with moving averages for US equities
A popular combination involves pairing the DMI ADX with a longer-term moving average, such as the 50-day or 200-day Simple Moving Average (SMA). The SMA establishes the structural bias of the market, while the DMI ADX acts as a trigger mechanism, indicating exactly when the momentum aligned with that moving average is accelerating.
Volume confirmation for US stock breakouts
In traditional US equity and forex analysis, combining the ADX with volume indicators provides definitive confirmation. If a price breaks out of a chart pattern alongside a surging ADX and above-average volume, it provides a high-probability signal that other traders are aggressively backing the move.
Incorporating DMI ADX in forex trading strategies
For spot forex traders operating in the 24-hour global currency markets, the DMI ADX is a crucial asset. Since OANDA provides access to 68 forex pairs, having a systematic way to scan and filter the most active pairs saves precious analytical time.
Trend-following strategies with DMI ADX for currency pairs
The most fundamental application of this system involves watching the relationship between the directional lines to establish bias, and using the ADX line to confirm velocity.
Using +DI and _DI crossovers for entry signals
A basic crossover strategy happens when the two directional lines intersect:
- Bullish Signal: When the +DI crosses above the -DI, it indicates that buying pressure is eclipsing selling pressure, generating a potential long entry.
- Bearish Signal: When the -DI crosses above the +DI, it suggests that selling pressure is taking the lead, generating a potential short entry.
Leveraging ADX for trade confirmation
A crossover alone can cause false signals in a choppy market. Therefore, traders use the ADX line as a filter. A crossover is only considered valid if the ADX is concurrently rising and ideally crosses above the 20 or 25 level, verifying that the new directional bias has enough backing to push the currency pair forward.
Identifying optimal entry and exit points in forex
Optimal entries typically happen right at the start of a trend when the +DI and -DI pull apart significantly while the ADX hooks upward from a low reading. In contrast, an exit signal can be triggered when the ADX reaches an extreme level (e.g., above 50) and begins to flatten or roll over, hinting that the trend is becoming exhausted and entering a profit-taking phase.
Risk management considerations for forex traders using DMI ADX
Because OANDA provides a highly stable trading infrastructure regulated by the CFTC and NFA, traders can accurately execute their risk management rules without worrying about platform instability.
Setting stop-loss orders
Stop-loss orders (S/L) are orders to close out a position at the market price when it reaches a certain price set by the trader. This order type is primarily used to limit loss and control exposure to risk. When entering a long position based on a bullish DMI crossover, some traders may place a stop-loss order just below the recent swing low formed during the consolidation period. If the trend fails to materialize and the directional lines cross back, the stop-loss protects your account balance from potential losses.
Determining take-profit levels
Take-profit levels can be managed dynamically using the ADX line. Rather than picking an arbitrary price target, you might trail your profit stop or exit the trade entirely once the ADX line drops below 30 from an overextended peak, securing gains before a full market reversal happens.
Practical examples: DMI ADX with major forex pairs (e.g., EUR/USD, USD/JPY)
If Eurozone economic data moves to the upside, the EUR/USD daily chart might show the +DI surging above the -DI. If you automatically connected to OANDA’s v20 REST API, and the ADX has simultaneously shifted from 15 to 28, it may point to a long breakout. Similarly, on the volatile USD/JPY pair, a sudden macro shift can cause the -DI to cross above the +DI; if the ADX line accelerates aggressively upward toward 45, it may indicate a bearish trend is emerging.
Advanced DMI ADX applications and best practices
DMI ADX divergence trading: Spotting potential reversals
Divergence happens when the price makes a new high or low, but the ADX fails to match it. For example, if a currency pair hits a new high but the ADX prints a lower high, trend momentum may be weakening, signaling traders to tighten stops or anticipate a reversal.
Avoiding false signals: When not to rely solely on DMI ADX
The indicator may perform poorly in low-volatility, range-bound markets. In these phases, +DI and -DI lines cross repeatedly, generating frequent false signals ("whipsaws"). It may be best to consult other technical tools for confirmation of direction.
Customizing settings for different timeframes and markets
While the standard 14 day period setting suits daily and weekly trading, if you’re using OANDA’s web platforms or MT4, you may use shorter settings (e.g., 7 or 9 periods) for increased sensitivity to fast price moves. It should be noted that shorter settings increase false signals, requiring stricter risk management.
Frequently asked questions
No technical indicator can predict the future with absolute certainty. The DMI ADX is a mathematical derivative of past price data, meaning it describes current and historical momentum rather than forecasting exact future price points. It gives traders a statistical edge by showing whether a trend is robust enough to likely continue its current trajectory.
The standard 14 day period setting recommended by J. Welles Wilder Jr. remains a good starting point for beginners. This is because it offers an optimal balance between responsiveness to new price trends and the filtration of market noise across most major asset classes.
The DMI ADX is structurally a lagging indicator because its calculations are based on completed historical price bars. However, because it measures the acceleration of momentum, a sharp hook upward in the ADX line can often act as a coincident or near-leading warning that a massive volatility breakout is beginning to take place.
It is highly unreliable for generating direction signals during sideways markets, which is actually by design. Its true reliability in a choppy market lies in its ability to act as a warning light; when the ADX stays below 20, it successfully tells you to avoid trend-following strategies altogether.
While indicators like the Relative Strength Index (RSI) or Moving Average Convergence Divergence (MACD) measure speed and changes in price to identify overbought or oversold conditions, they do not explicitly measure the structural strength of a trend itself. The ADX is entirely unique because it filters out directional bias completely to focus purely on trend intensity, making it a perfect filtering mechanism to use alongside the RSI or MACD.
The DMI ADX system effectively identifies tradeable trends and filters out range-bound market noise. By analyzing the interplay between positive momentum (+DI), negative momentum (-DI), and trend intensity (ADX), you’ll be able to build a disciplined strategy for market entry and exit. Combining the analytical power of the DMI ADX indicator with OANDA's execution environment allows traders to navigate global financial markets with precision and confidence.
This article and its contents are intended for educational purposes only and should not be considered trading advice. Past performance is not indicative of future results.
Leveraged trading is high risk and not suitable for everyone. Losses can exceed investments.
Trading in virtual currencies is high risk. All virtual currency transactions occur on the Paxos Trust Company exchange. Paxos is not an NFA member and is not subject to the NFA's regulatory oversight and examinations. OANDA Corporation is not party to any transactions in virtual currencies and does not custody virtual currencies on your behalf.