What is the Directional Movement Index (DMI)?
The Directional Movement Index, or 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 directional movement (DX) shows the difference between the lines. When +DI is above -DI, there is more upward pressure than downward pressure in the price. If -DI is above +DI, then there is more downward pressure in 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.
- The Directional Movement Index (DMI) is composed of two lines, and an optional one, showing selling pressure (-DI), showing buying pressure (+DI), and a third DX line showing the difference between the former positive and negative lines.
- A +DI line above the -DI line means there is more upward movement than downward movement.
- A -DI line above the +DI line means there is more downward movement than upward movement.
- Crossovers can be used to signal emerging trends. For example, the +DI crossing above the -DI may signal the start of an uptrend in price.
- The larger the spread between the two 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.
- The Average Directional Movement Index (ADX) is another indicator that can be added to the DMI.
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−Previous High-DM=Previous Low−Current LowSmoothed +/-DM=∑t=114DM−((∑t=114DM)÷14)+Current DMATR=Average True Range*
Calculating the Directional Movement Index (DMI)
- Calculate +DM, -DM, and 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 Current High - Previous High is greater than Previous Low - Current Low. Use -DM when Previous Low - Current Low is greater than Current High - Previous High.
- TR is the greater of the Current High - Current Low, Current High - Previous Close, or Current Low - Previous Close.
- Smooth the 14-period averages of +DM, -DM, and 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 TR 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 Movement 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, or ADX, is a smoothed average of DX.
What Does the Directional Movement Index (DMI) Tell You
The DMI is primarily used to help asses trend direction and provide trade signals.
Crossovers are the main trade signals. A long trade is taken when the +DI crosses above -DI and uptrend could be underway. A sell signal occurs when the -DI drops below -DI. A short trade is initiated when -DI drops below +DI because a downtrend could 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 to the upside and this would help confirm current long trades or new long trade signals based on other entry methods. If -DI is well above +DI this confirms the strong downtrend or short positions.
The Difference Between the Directional Movement Index (DMI) and 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 (DMI)
The directional movement index (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 means the price is trending strongly. Whether using ADX or not, the indicator is still prone to producing lots of false signals.
+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.