What Is the Directional Movement Index (DMI)?
The directional movement index (DMI) is an indicator developed by J. Welles Wilder in 1978 that identifies in which direction the price of an asset is moving. The indicator does this by comparing prior highs and lows and drawing two lines: a positive directional movement line (+DI) and a negative directional movement line (-DI). An optional third line, called the average directional index (ADX), can also be used to gauge the strength of the uptrend or downtrend.
When +DI is above -DI, there is more upward pressure than downward pressure in the price. Conversely, if -DI is above +DI, then there is more downward pressure on the price. This indicator may help traders assess the trend direction. Crossovers between the lines are also sometimes used as trade signals to buy or sell.
Key Takeaways
- The directional movement index (DMI) is a technical indicator that measures both the strength and direction of a price movement and is intended to reduce false signals.
- The DMI utilizes two standard indicators, one negative (-DM) and one positive (+DN), in conjunction with a third, the average directional index (ADX), which is non-directional but shows momentum.
- The larger the spread between the two primary lines, the stronger the price trend. If +DI is way above -DI the price trend is strongly up. If -DI is way above +DI then the price trend is strongly down.
- ADX measures the strength of the trend, either up or down; a reading above 25 indicates a strong trend.
The Formulas for the Directional Movement Index (DMI) Are
+DI=(ATR Smoothed +DM)×100-DI=(ATR Smoothed -DM)×100DX=(∣+DI+-DI∣∣+DI−-DI∣)×100where:+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 Directional Movement Index
- Calculate +DM, -DM, and the true range (TR) for each period. Typically 14 periods are used.
- +DM is the current high - previous high.
- -DM is the previous low - current low.
- Use +DM when the current high - previous high is greater than the previous low - current low. Use -DM when the previous low - current low is greater than the current high - previous high.
- The TR is the greater of the current high - current low, the current high - previous close, or the current low - previous close.
- Smooth the 14-period averages of +DM, -DM, and the TR. Below is the formula for TR. Insert the -DM and +DM values to calculate the smoothed averages of those as well.
- 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 average true range (ATR) value to get +DI. Multiply by 100.
- Divide the smoothed -DM value by the smoothed TR value to get -DI. Multiply by 100.
- The optional directional index (DX) is +DI minus -DI, divided by the sum of +DI and -DI (all absolute values). Multiply by 100.
- The average directional movement index (ADX) is a smoothed average of DX, and is another indicator that can be added to the DMI. To get the ADX, continue to calculate DX values for at least 14 periods. Then, smooth the results to get ADX.
What Does the Directional Movement Index Tell You
The DMI is primarily used to help assess trend direction and provide trade signals.
Crossovers are the main trade signals. A long trade is taken when the +DI crosses above the -DI and an uptrend could be underway. Meanwhile, a sell signal occurs when the +DI instead crosses below the -DI. In such cases, a short trade may be initiated because a downtrend might be underway.
While this method may produce some good signals, it will also produce some bad ones since a trend may not necessarily develop after entry.
The indicator can also be used as a trend or trade confirmation tool. If the +DI is well above -DI, the trend has strength on the upside, and this would help confirm current long trades or new long trade signals based on other entry methods. Conversely, if -DI is well above +DI, this confirms the strong downtrend or short positions.
:max_bytes(150000):strip_icc()/DMI-5c54a144c9e77c0001a40703.png)
The Directional Movement Index vs. the Aroon Indicator
The DMI indicator is composed of two lines, with an optional third line. The Aroon indicator also has two lines. The two indicators both show positive and negative movement, helping to identify trend direction.
The calculations are different, though, so crossovers on each of the indicators will occur at different times.
Limitations of the Directional Movement Index
The DMI is part of a larger system called the average directional movement index (ADX). The trend direction of DMI can be incorporated with the strength readings of the ADX. Readings above 20 on the ADX mean the price is trending strongly. Whether using ADX or not, the indicator is still prone to producing lots of false signals.
Notably, +DI and -DI readings and crossovers are based on historical prices and don't necessarily reflect what will happen in the future. A crossover can occur, but the price may not respond, resulting in a losing trade.
The lines may also crisscross, resulting in multiple signals but no trend in the price. This can be somewhat avoided by only taking trades in the larger trend direction based on long-term price charts, or incorporating ADX readings to help isolate strong trends.