Directional Movement Index (DMI)
Overview
The Directional Movement Index (DMI), developed by J. Welles Wilder, is a technical analysis tool that identifies both the direction and strength of a price trend. It plots two directional lines—+DI (positive directional indicator) and −DI (negative directional indicator)—and is commonly paired with the Average Directional Index (ADX), a non-directional measure of trend strength.
Key points
* +DI > −DI implies bullish pressure; −DI > +DI implies bearish pressure.
* Crossovers of +DI and −DI are used as entry/exit signals.
* ADX indicates trend strength; a higher ADX means a stronger trend (typical rule of thumb: ADX > 25 signals a strong trend; some traders use 20).
* DMI is prone to false signals in choppy, sideways markets and works best in trending conditions.
Explore More Resources
Formulas
Basic components:
* +DM = Current High − Previous High (use only if positive and greater than −DM)
* −DM = Previous Low − Current Low (use only if positive and greater than +DM)
* True Range (TR) = max(High − Low, |High − Previous Close|, |Low − Previous Close|)
Common smoothing and indicator calculations (typically 14-period Wilder smoothing):
Explore More Resources
“`
Smoothed +DM = prior Smoothed +DM − (prior Smoothed +DM / 14) + current +DM
Smoothed −DM = prior Smoothed −DM − (prior Smoothed −DM / 14) + current −DM
Smoothed TR = prior Smoothed TR − (prior Smoothed TR / 14) + current TR
+DI = (Smoothed +DM / Smoothed TR) × 100
−DI = (Smoothed −DM / Smoothed TR) × 100
Explore More Resources
DX = (|+DI − −DI| / (+DI + −DI)) × 100
ADX = Wilder-smoothed average of DX (often another 14 periods)
“`
How to calculate DMI (step-by-step)
- Compute +DM, −DM and TR for each period (typically 14 periods).
- Initialize the first smoothed values as the sum of the first 14 readings (e.g., first Smoothed TR = sum of first 14 TRs).
- Apply Wilder smoothing for subsequent periods:
SmoothedNext = SmoothedPrev − (SmoothedPrev / 14) + CurrentValue. - Compute +DI and −DI by dividing the smoothed directional movements by the smoothed TR and multiplying by 100.
- Optionally compute DX each period and smooth DX over 14 periods to get ADX.
Interpretation and signals
- Crossovers:
- Buy signal: +DI crosses above −DI (suggests upward pressure).
- Sell/short signal: +DI crosses below −DI (suggests downward pressure).
- Trend strength:
- ADX rising and above threshold (commonly 25) confirms a strong trend.
- Confirmation:
- Use ADX and longer-term charts to confirm direction and reduce whipsaws.
Limitations
- Reactive: DMI components rely on past price changes and can lag.
- False signals: frequent crossovers can occur in sideways markets, producing losing trades.
- Sensitivity to parameter choice: the period length (commonly 14) affects responsiveness and noise.
Practical tips to improve reliability
- Use ADX as a filter—take directional signals only when ADX indicates a strong trend.
- Adjust the lookback period to suit the asset’s volatility (shorter for faster signals, longer for fewer false signals).
- Combine DMI with other tools (moving averages, RSI, price action, volume) for confirmation.
- Limit exposure with risk management: position sizing, stop losses, and trade filters for trend direction on higher timeframes.
DMI vs. Aroon Indicator (brief)
- DMI: Compares consecutive highs/lows and measures directional strength; best for confirming and trading established trends.
- Aroon: Measures time since recent highs/lows to detect the start or end of trends and consolidations; useful for spotting reversals and fresh trend starts.
Traders choose between them based on whether they need directional strength measurement (DMI) or timing of trend onset/reversal (Aroon).
Example (summary)
A simple backtest using +DI/−DI crossovers on Microsoft (MSFT) over one year produced:
* Net profit: 6.95%
* Total closed trades: 11
* Percent profitable: 45.45%
* Profit factor: 1.602
* Maximum drawdown: 9.47%
* Buy-and-hold return over same period: 22.81%
Explore More Resources
This illustrates that DMI signals can generate returns but may underperform buy-and-hold in certain environments; real trading requires more sophisticated strategy design, risk controls, and broader testing.
Indicators that pair well with DMI
- ADX (for trend strength confirmation)
- Moving averages (trend direction and smoothing)
- Relative Strength Index (RSI) and Stochastic (momentum/overbought-oversold)
- Bollinger Bands (volatility and breakout context)
- Volume indicators (confirming strength of moves)
- Fibonacci levels and chart patterns (entry/exit context)
Conclusion
DMI is a useful tool for distinguishing trend direction and, when combined with ADX, trend strength. It works best in trending markets and as part of a broader strategy that includes confirmation indicators, suitable parameterization, and disciplined risk management.