DIRECTIONAL MOVEMENT INDEX (DMI)
Directional movement compares a security's trading range for one day to the trading range on the previous day. Positive directional movement (+DM) occurs when today's high is greater than yesterday's high, while negative directional movement (-DM) appears when today's low is less than yesterday's low.
Based on the average of positive and negative directional movement over a certain time period, a positive directional movement indicator (+DI) and a negative directional movement indicator (-DI) can be plotted.
Calculation Method:
Let +DMt represent the positive directional movement for Day t and -DMt represent the negative directional movement for Day t.
Then, +DMt = Ht - Ht-1
[ if Ht > Ht - 1 ]-DMt = Lt - Lt-1
TR (
“true range”for the security on Day t) is calculated as follows:TR t = H - L [ if Lt - 1 ≧ Lt ]
Ht - Ht - 1 [ if Lt - 1 < Lt ]
Lt - 1 - Lt
[ if Ht < Ht - 1 ]
Then, +DI = [(+DM1) + (+DM2) +
… + (+DMt)] / (TR1 + TR2 + … + TRt )-DI = [(-DM1) + (-DM2) +
In our Java Charting System, we have defaulted 10 days to be the selected time horizon for calculating these indicators. The box on the top right hand side is open to you for entering any preferred time horizon (e.g. 14 days).

When the +DI crosses the -DI to the upside, it generates a long signal. On the contrary, a short signal is generated when the +DI crosses through the -DI to the downside. The above chart showed that this trading strategy works quite well for "i-Cable Communications" in Jul-Nov 2000.