DMI/ADX (trend indicators): calculation and reading

DMI uses +DI and −DI to measure the strength of the upward and downward directions, and ADX measures trend strength without regard to direction.

Updated:

Chart

Loading chart…

Uses the prices of TSMC (2330) over roughly the last 120 trading days only to show how this indicator is drawn; it is not a stock recommendation. Source: Taiwan Stock Exchange.

Calculation (default 14 days)

  1. Directional movement: how much higher today’s high is than the previous day’s (up move), and how much lower today’s low is than the previous day’s (down move); only the larger of the two, and only if positive, counts, and the other is recorded as 0.
  2. Apply Wilder smoothing to the “up move” and the “down move” separately, then divide each by ATR and multiply by 100 to get +DI (upward direction) and −DI (downward direction).
  3. DX = |+DI − −DI| ÷ (+DI + −DI) × 100, and applying Wilder smoothing to DX gives ADX.

How to read it

Limits

All three lines come from moving-average style smoothing, so they lag; in a sideways market +DI and −DI cross often. It does not predict the future.

Where the idea comes from

DMI and ADX were introduced by J. Welles Wilder Jr. in 1978. This article explains them in our own words.

This article only explains the calculation and how to read a chart. It is not investment advice.

See it on this site

Sources

  • J. Welles Wilder Jr., New Concepts in Technical Trading Systems (1978)

Citing and copyright

This article is original content of “Tenmizu FinTech”. You are welcome to cite it; please credit the source and link to this page. Concepts or data that come from others are credited under “Sources”; their copyright belongs to the original authors.

Keep reading