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:
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)
- 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.
- 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).
- DX = |+DI − −DI| ÷ (+DI + −DI) × 100, and applying Wilder smoothing to DX gives ADX.
How to read it
- +DI above −DI means the recent upward force is larger; the reverse means the downward force is larger.
- ADX only measures whether there is a trend, regardless of up or down: the higher the value, the clearer the trend; a low value means price is leaning toward sideways movement. Common reference values are 20 to 25, used only to describe levels of strength.
- The thresholds of the “ADX” condition on the Screener page can be adjusted.
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.