# Directional Movement Index (DMI)

An indicator that helps in determining the direction the asset price is moving and the strength of the price movement

## What is the Directional Movement Index (DMI)?

The Directional Movement Index (DMI) is an indicator that helps in determining the direction the asset price is moving and the strength of the price movement. It does so by comparing the current price with previous lows and highs, drawing lines of positive directional movement (+DI) and negative directional movement (-DI). The placement of +DI and -DI, with respect to each other, determines the direction of pressure in price. If +DI is higher than -DI, the pressure in price is more upward, indicating a buying signal, and if -DI is higher, the pressure in price is more downward, indicating a selling signal.

The Directional Movement Index also includes an optional line called the Average Directional Index (ADX), showing the strength of the upward or downward trend.

### Summary

• The Directional Movement Index (DMI) is an indicator that helps in assessing the direction of an asset’s price movement and the strength of the trend.
• If +DI is higher than -DI, the pressure in price is more upward, indicating a buying signal, and if -DI is higher, the pressure in price is more downward, indicating a selling signal.
• The DMI helps in assessing the trend direction and providing trade signals.

### Calculation of the Directional Movement Index (DMI)

#### 1. Calculate True Range, positive directional movement (+DM), and negative directional movement (-DM) for every period. Usually, 14 periods are considered.

True Range (TR) is the maximum of the absolute value of:

• Current high minus previous close
• Current high minus current low
• Current low minus previous close

If current high minus previous high is greater than the previous low minus current low,

+DM = Current High – Previous High

If +DM is negative, then +DM is taken as 0

If current high minus previous high is less than the previous low minus current low,

-DM = Previous Low – Current Low

If -DM is negative, then -DM is taken as 0

If both +DM and -DM are positive and +DM is greater than -DM, then the value of +DM is current high minus previous high and -DM is 0. Similarly, if -DM is greater than +DM, then the value of +DM is 0, and -DM is previous low minus current low.

#### 2. Smooth out 14-period averages of TR, +DM, and -DM

TR for the first 14 periods = Total of first 14 readings of TR

Next 14 period TR = First 14 period TR  – (Previous 14 period TR)/14 + Current TR #### 3. Calculate +DI and -DI

+DI = (Smoothed +DM / Smoothed TR value) x 100

-DI = (Smoothed -DM / Smoothed TR value) x 100

4. Compute Directional Index (DX) ### Trading Using the Directional Movement Index (DMI)

The Directional Movement Index (DMI) helps in assessing the trend direction and providing trade signals. If +DI line is higher up than -DI line, the market is believed to be trending upwards, and a long trade can be taken. Similarly, if -DI line is higher up than +DI line, a short trade is taken, as the market is believed to be trending downwards.

The DMI can be used to confirm the trend of the price signal. The trend is stronger if the spread between +DI and – DI is larger. If +DI is far above -DI, it indicates a strong upward trend. If -DI is far above +DI, the price trend is strongly moving downwards.