ADX Indicator Explained: Trend Strength, +DI and −DI Calculations
The Average Directional Index (ADX) measures the strength of directional price movement without indicating whether that movement is upward or downward. It is commonly displayed with positive and negative directional indicators (+DI and −DI), which provide directional context. ADX can rise in a falling market and fall during an ongoing uptrend.
Directional movement starts with highs and lows
Calculate up move = current high − previous high, and down move = previous low − current low. +DM equals the positive up move only when it exceeds the down move; otherwise it is zero. −DM equals the positive down move only when it exceeds the up move; otherwise it is zero. Equal positive moves are normally set to zero for both under Wilder’s strict comparison. True range is the greatest of high − low, absolute high − prior close and absolute low − prior close.
| Observation | Previous H/L/C | Current H/L | Up/down move | +DM / −DM | True range |
|---|---|---|---|---|---|
| Upward expansion | 110 / 100 / 108 | 114 / 102 | 4 / −2 | 4 / 0 | 12 |
| Downward expansion | 110 / 100 / 108 | 109 / 96 | −1 / 4 | 0 / 4 | 13 |
| Equal outside expansion | 110 / 100 / 108 | 113 / 97 | 3 / 3 | 0 / 0 | 16 |
| Inside bar | 110 / 100 / 108 | 109 / 101 | −1 / −1 | 0 / 0 | 8 |
How +DI, −DI and DX are calculated
Wilder’s conventional 14-period method seeds smoothed TR, +DM and −DM using sums of the first 14 observations. Subsequent smoothed sums equal previous sum − previous sum ÷ 14 + current observation. Calculate +DI = 100 × smoothed +DM ÷ smoothed TR, and −DI using smoothed −DM. DX = 100 × absolute(+DI − −DI) ÷ (+DI + −DI). When a denominator is zero, the platform’s handling of missing or zero values matters.
For a fictional smoothed TR sum of 140, +DM sum of 42 and −DM sum of 14, +DI is 30, −DI is 10 and DX is 50. The values are ratios, not the percentage return of the instrument. A previous ADX of 28 and a new DX of 50 give a new ADX of (13 × 28 + 50) ÷ 14 = 29.57. The first ADX is seeded with the average of the first 14 valid DX observations. Allow additional warm-up history for stable comparisons between platforms.
What ADX 20 or 25 actually means
Chart users often treat readings below 20 as relatively weak directional conditions and readings above 25 as stronger trending conditions. These are conventions, not statistical confidence levels or universally validated trading thresholds. A rising ADX suggests that smoothed directional imbalance is increasing. A falling ADX suggests weakening directional imbalance, which can happen even as price continues higher or lower.
| ADX observation | Directional context | Interpretation |
|---|---|---|
| Rising | +DI above −DI | Strengthening positive directional movement |
| Rising | −DI above +DI | Strengthening negative directional movement |
| Falling | +DI above −DI | Positive directional movement may be weakening |
| Low or falling | DI lines frequently cross | Potentially weak or alternating directional conditions |
ADX versus ATR
ATR measures price-range volatility in the instrument’s price units. ADX is a normalised measure derived from the separation of directional movement indicators. A market can have large daily ranges and low ADX if it repeatedly changes direction. A steady gradual trend can produce stronger ADX without particularly large daily ranges. Using ADX as a substitute for ATR in a stop-distance calculation confuses two different quantities.
Using ADX as a testable market-regime filter
Suppose an analyst tests a trend-following rule with ADX greater than 25 and compares it with the identical rule without that filter. Fix the period and threshold before evaluation. Record the time the completed-bar ADX becomes available, model subsequent execution and examine trade frequency, returns after costs, drawdowns and missed moves. A rising ADX may appear after much of the price move has already occurred because directional movement and DX are smoothed. Avoid optimising several thresholds across the same dataset and reporting only the winner.
Frequently asked questions
Does ADX above 25 mean buy?
No. ADX does not specify direction; the directional indicators or other independent price evidence provide context.
Why do two platforms give different readings?
Initialization, smoothing, available history, session data and treatment of zero values can differ.
Can ADX predict when a trend will end?
No. A weakening reading describes the smoothed directional balance; it cannot guarantee a future reversal.
Continue with ATR, price structure and trend following and momentum.
Continue your learning with technical analysis foundations and learning pathways and Choppiness Index.
Further reading
StockCharts ChartSchool: Average Directional Index (ADX) explains Wilder’s directional movement and smoothing conventions.
General educational material only, not personalised financial advice. Trading involves risk of loss.
Stay Ahead of the Markets
Get market analysis, financial news and practical trading insights delivered straight to your inbox.