• Home
  • Knowledge base
  • Useful Forms
  • FAQ

What is the Directional Movement Index (DMI) formula and how is it calculated?

Modified on: 2018/07/17
A:

Legendary trader and author J. Welles Wilder Jr. introduced the directional movement index, or DMI, in 1978. Wilder wanted an indicator that could measure the strength and direction of a price movement so traders could avoid false signals. The DMI is actually two different standard indicators, one negative and one positive, that are plotted as lines on the same chart. A third line, the average directional index, or ADX, is nondirectional but shows movement strength.

There is a different formula used for each of the three indicators. The DMI is built on a ratio of exponential moving averages, or EMAs, of the upward price movements (U), downward price movements (D) and the true range of the prices (TR). These are often expressed in an equation as EMAUP, EMADOWN and EMATR.

The computations for the various EMAs are complex and numerous. Once they are found, however, they can be used to compute the directional movement, or DM, for whatever time interval is selected. The standard interval is 14 periods. The returned value of DM can be positive (+DM), negative (-DM) or zero. -DM is calculated by dividing EMADOWN by EMATR. +DM is equal to EMAUP divided by EMATR.

Once those values generate returns, they help form the directional index, or DX, that is calculated as: Absolute Value ((+DI - -DI) / (+DI + -DI)).

Once the DX value is found, ADX is calculated as: EMADXn-1 / ((2 / (n+1)) x (DXn - EMADXn-1)).

The chart reflects the values of +DI, -DI and ADX over the course of the time interval.


Did you find it helpful?
Related Articles