This technical indicator helps traders assess the trend direction by comparing prior highs and lows
Directional Movement Index is composed of two lines:
- A positive directional movement line (+DI)
- A negative directional movement line (-DI).
An optional third line, called directional movement (DX) shows the difference between the lines.
- If +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 on the price.
Crossovers between the lines are also sometimes used as trade signals to buy or sell.
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.
How to Calculate DMI
To calculate the DMI, you calculate the difference between the current high and the previous high (“HiDiff”), as well as the difference between the previous low and the current low (“LowDiff”).
HiDiff and LowDiff are then compared.
- If HiDiff is greater in value, a variable +DMI is set to HiDiff and a variable -DMI is set to 0.
- If LowDiff is greater, -DMI is set to LowDiff and +DMI is set to 0.
- If the two values are equal, or if no trend is seen in either highs or lows, both values are set to 0.
A calculation known as the Welles Summation is then performed on both +DMI and -DMI, resulting in two numbers: +DI and -DI, both ranging from 0 to 100.
Vincent Nyagaka is a Professional Trader, Analyst & Author. He has been actively engaged in market analysis for the past 7 years. He has a monthly readership of 100,000+ traders and has taught over 1,000 students since 2014. Vincent is also an experienced instructor and public speaker. Check out Vincent’s Professional Trading Course here.