What is the 'Directional Movement Index - DMI'

The Directional Movement Index, or DMI, is an indicator developed by J. Welles Wilder that identifies whether a security is trending.

BREAKING DOWN 'Directional Movement Index - DMI'

The Directional Movement Index was developed by J. Welles Wilder in 1978 as a way to help traders avoid false signals. By comparing various moving averages, the indicator helps determine if prices are trending or simply producing noise

Calculating the Directional Movement Index

The original calculation of the Directional Movement Index involves the following steps:

  1. Compute the upward price movements (+DI), downward price movements (-DI), and true range of each trading period. If the difference between the current high and the previous high is greater than the difference between the previous low and current low, +DI is the greater of subtracting the current high by the previous high, or zero. If the difference between the previous low and the current low is greater than the difference between the current high and the previous high, -DI is the greater of subtracting the previous low and current low, or zero. If both +DI and -DI are negative, then both are set to zero. If both +DI and -DI are positive, the greater value is used and calculated by either subtracting the current high from the previous high (+DI) or subtracting the current low from the previous low (-DI). True range is the greater of the current low subtracted from the current high, the absolute value of the current high minus the previous close, or the absolute value of the current low minus the previous close.
  2. Calculate the Welles Wilder's Smoothing Average (WWS) of upwards price movements, downward price movements, and the true range. The formula for this is: WSMA(i) = (SUM1-WSMA1+CLOSE(i))/N, where WSMA1 is the Wilder's Smoothing for the first period, WSMA(i) is the Wilder's Smoothing for the current period (except if it's the first period), CLOSE(i) is the current closing price, and N is the smoothing period.
  3. Calculate the positive Directional Movement Index (+DI) by dividing the WWS of upwards price movements by the WWS of true range and multiply the result by 100.
  4. Calculate the negative Directional Movement Index (-DI) by dividing the WWS of downward price movements by the WWS of true range and multiply the result by 100.
  5. Calculate the aggregate Directional Movement Index (DX) by multiplying the previous ADX values, after the first one, by the specified period minus one, adding the current DX value, and dividing the total by the period specified. The first value is an average of the Directional Index over the specified period of time.

The most common timeframe used for calculating the DMI - e.g. the number of periods to use in the WWS - is 14 periods, although traders may vary this number depending on their needs. 

The DMI indicator includes the positive, negative, and aggregate lines. Since these values are normalized, they are plotted as an oscillator that ranges from 0 to 100.

The Average Directional Movement Index, or ADX, is a moving average of the DMI.

Examples of the Directional Movement Index

The chart below shows an example of the Directional Movement Index.

Chart showing ADX indicator.

In this chart, the stock exhibits a period where the ADX moves above 60, suggesting a strongly trending market with the +DI exceeding the -DI. Traders may have interpreted this as an opportunity to go long in the stock.

Chart courtesy of StockCharts.com.

  1. Average Directional Index - ADX

    An indicator used in technical analysis as an objective value ...
  2. Average True Range - ATR

    A measure of volatility introduced by Welles Wilder in his book: ...
  3. Net Volume

    Net volume is a technical indicator that's calculated by subtracting ...
  4. Reversal Amount

    The amount of price movement required to shift a chart to the ...
  5. Across The Board

    Across the board is a term that refers to market-wide movement, ...
  6. Today's Low

    A security's intraday low trading price. Today's low is the lowest ...
Related Articles
  1. Trading

    DMI Points the Way to Profits

    The directional movement index (DMI) helps tell you whether to go long, short or stand aside.
  2. Trading

    Trading Without Noise

    False signals can drown out underlying trends. Find out how to tone them down and tune them out.
  3. Trading

    Finding Market Movement With The ADX

    Take a closer look at this indicator, which refines your insight into the strength of a prevailing trend.
  4. Trading

    Use The Momentum Strategy To Your Advantage

    Learn how to use a number of different indicators to know when to make your trading moves.
  5. Trading

    What Your Trading Charts Aren't Telling You

    You may be missing some key statistics when following charts in the market.
  6. Trading

    Nvidia Stock Is Vulnerable to a Downside Breakdown

    After an incredible run to start the year, shares of Nvidia are cooling off.
  1. How do technical analysts interpret the Average Directional Index (ADI)?

    Learn what the average directional index is and why technical analysts look towards ADX indicators to measure the strength ... Read Answer >>
  2. What is the Volatility Ratio formula and how is it calculated?

    Understand what the volatility ratio indicator is, how it is calculated and the way this technical indicator is used by traders ... Read Answer >>
  3. How is the value of the S&P 500 calculated?

    The S&P 500 is a U.S. market index that gives investors an idea of the overall movement in the U.S. equity market. The value ... Read Answer >>
  4. How do experienced traders identify false signals in the market?

    Learn how traders identify false signals in the market when using indicators and strategies to better identify true market ... Read Answer >>
  5. What are the top technical indicators used for range-bound trading strategies?

    Learn how to identify when a market is range-bound and what some of the technical indicators are that work best for trading ... Read Answer >>
Hot Definitions
  1. Leverage

    Leverage results from using borrowed capital as a source of funding when investing to expand the firm's asset base and generate ...
  2. Financial Risk

    Financial risk is the possibility that shareholders will lose money when investing in a company if its cash flow fails to ...
  3. Enterprise Value (EV)

    Enterprise Value (EV) is a measure of a company's total value, often used as a more comprehensive alternative to equity market ...
  4. Relative Strength Index - RSI

    Relative Strength Indicator (RSI) is a technical momentum indicator that compares the magnitude of recent gains to recent ...
  5. Dividend

    A dividend is a distribution of a portion of a company's earnings, decided by the board of directors, to a class of its shareholders.
  6. Inventory Turnover

    Inventory turnover is a ratio showing how many times a company has sold and replaces inventory over a period.
Trading Center