What is ADX (average directional index)?
The average directional index measures how strong a trend is, not which way it runs.
Ours follows Wilder: each bar's upward move (+DM) and downward move (-DM) are compared, the larger one counts and the other is zero. True range, +DM and -DM are smoothed with Wilder's method over 14 bars to give +DI and -DI, their normalised gap gives DX, and ADX is Wilder smoothing of DX, seeded with the plain average of the first 14 DX values. Only the ADX line is drawn; the DMI indicator shows the two DI lines.
How is ADX calculated?
ADX = Wilder(DX, 14), DX = 100 × |+DI - -DI| / (+DI + -DI), ±DI = 100 × Wilder(±DM, 14) / Wilder(TR, 14)
The terms in the formula
- +DM, -DM
- today's high minus yesterday's high, and yesterday's low minus today's low; only the larger, if positive, counts
- TR
- true range: the largest of high - low, |high - prev close| and |low - prev close|
- Wilder(x, 14)
- Wilder smoothing: new = (old × 13 + x) / 14
How do you read ADX?
- Below about 20 is usually read as a weak trend or a range; above 25 as a trending market; above 40 as a strong one.
- A rising ADX means the trend, up or down, is gaining strength; a falling ADX from a high level means it is losing force, even if price still moves the same way.
- Traders often pair it with price or the DMI lines to know the direction, since ADX itself is the same for strong rallies and strong sell-offs.
What are the limits of ADX?
- It lags: double smoothing means it needs roughly 28 bars to start and reacts late to new trends.
- It never shows direction; a high ADX during a crash looks the same as one during a rally.
- Its peak often comes after the trend's best move, so a high reading is not a sign the move is early.
- A single large gap can lift it sharply even without a lasting trend.
Where can you see it on TickerBase?
Open a live chart and add the indicator