Average Directional Index (ADX) Calculator

Technical indicators

Average directional index (ADX)25.78
Directional index (DX)38.54
Directional difference (+DI minus -DI)15.80
Trend strength bandStrong trend (25 to 50)
Leading line+DI leads (uptrend pressure)
How this was calculated
  1. Inputs: +DI is 28.40, -DI is 12.60, the previous ADX is 24.80 and the period is 14.
  2. DX: 100 x |28.40 - 12.60| / (28.40 + 12.60) = 38.54.
  3. Wilder smoothing: 24.80 + (38.54 - 24.80) / 14 = 25.78.
  4. Average directional index result: 25.78 - strong trend (25 to 50).

The ADX is the member of Wilder's directional movement family that refuses to take sides. Its companions, +DI and -DI, argue about direction; the ADX ignores the argument and reports only how strong the trend is, whichever way it points. Wilder built it in 1978 because his other systems kept firing in sideways markets, and he wanted a single number that could veto them: below a certain ADX, there is no trend worth trading, full stop.

The calculation has two stages, and this page performs both. First the two DI values are combined into the directional index, DX - the gap between them as a share of their sum. Then one step of Wilder's smoothing blends that DX into the previous ADX. Enter +DI, -DI, the previous ADX and the period, and the page returns the new ADX with its DX, the directional difference and the strength band. The examples show a strong uptrend, a strong downtrend and a market with no trend at all.

Worked examples

ADX certifying a strong uptrend

(28.4 · 12.6 · 24.8 · 14)

Average directional index (ADX)25.78
Directional index (DX)38.54
Directional difference (+DI minus -DI)15.80
Trend strength bandStrong trend (25 to 50)
Leading line+DI leads (uptrend pressure)

ADX in a strong downtrend

(9.3 · 31.7 · 33.2 · 14)

Average directional index (ADX)34.73
Directional index (DX)54.63
Directional difference (+DI minus -DI)-22.40
Trend strength bandStrong trend (25 to 50)
Leading line-DI leads (downtrend pressure)

ADX vetoing a trendless market

(18.9 · 17.4 · 15.6 · 14)

Average directional index (ADX)14.78
Directional index (DX)4.13
Directional difference (+DI minus -DI)1.50
Trend strength bandWeak or absent trend (below 20)
Leading line+DI leads (uptrend pressure)

Direction first, strength second

The directional indicators come from Wilder's directional movement system, which compares today's price range with yesterday's to decide how much of the movement was upward and how much downward. Smoothed and scaled, those become +DI and -DI. Their gap is the raw material of trend strength: when one dwarfs the other, movement is one-sided and a trend exists; when they sit close together, movement is balanced and there is nothing to follow.

DX converts the gap into a percentage of the whole. In the first worked example +DI is 28.40 and -DI is 12.60: DX is 100 x 15.80 / (28.40 + 12.60) = 38.54 - nearly two fifths of all directional movement points one way. In the third example the DI lines nearly coincide, 18.90 against 17.40, and DX collapses to 4.13: the two examples are the same instrument family at opposite extremes of trendiness.

Notice what DX deliberately throws away: the sign. The second example's -DI of 31.70 towers over its +DI of 9.30, a difference of -22.40, yet its DX of 54.63 is the largest of the three. A downtrend is still a trend, and the ADX lineage measures it with the same respect as an uptrend - direction is read from which DI line leads, a separate figure this page reports alongside.

  • DX = 100 x |+DI - -DI| / (+DI + -DI): the gap as a share of the whole.
  • ADX is Wilder's smoothing of DX, updated one step per bar.
  • The sign of the trend comes from the DI lines, never from the ADX.
  • The conventional period is 14, used throughout the worked examples.

From DX to ADX in one smoothing step

Wilder's smoothing is a specific recursion: the new ADX keeps the old one and moves it by one period-th of the distance to the new DX. With the standard period of 14, each bar replaces a fourteenth of the gap. In the first example the previous ADX is 24.80 and the fresh DX is 38.54, so the new ADX is 24.80 + (38.54 - 24.80) / 14 - landing at 25.78, just inside the strong-trend band.

The slowness is the design. A single spectacular bar can print a DX of 54.63, as the second example does, yet the ADX only walks from 33.20 to 34.73. Wilder wanted a gauge that certifies trends, not one that applauds individual bars, so the ADX confirms a trend days after the DI lines have crossed - and keeps certifying it for days after they cross back.

The third example shows the veto at work. Its DX of 4.13 drags the previous ADX of 15.60 down to 14.78, deep in the weak band. A trend-following system gated on this gauge sits out entirely: the DI lines may cross back and forth, generating signals on a direction basis, but the strength gauge says there is no trend for them to follow.

ADX bandReadingWilder's interpretation
Weak or absentBelow 20No trend worth trading; stand aside
Strong trend25 to 50A trend is established; direction from the DI lines
Very strong trendAbove 50Exceptional one-sidedness; rare and usually late-stage
The ADX moves by only one period-th of the gap to DX each bar - at period 14, a DX of 54.63 lifts the ADX from 33.20 only to 34.73.

Worked examples

Example 1: Plus directional indicator (+DI) 28.4; Minus directional indicator (-DI) 12.6; Previous ADX 24.8; Period 14. Average directional index (ADX) = 25.78. Supporting values: Directional index (DX) 38.54; Directional difference (+DI minus -DI) 15.80; Trend strength band Strong trend (25 to 50); Leading line +DI leads (uptrend pressure). Inputs: +DI is 28.40, -DI is 12.60, the previous ADX is 24.80 and the period is 14. DX: 100 x |28.40 - 12.60| / (28.40 + 12.60) = 38.54. Wilder smoothing: 24.80 + (38.54 - 24.80) / 14 = 25.78. Average directional index result: 25.78 - strong trend (25 to 50).

Example 2: Plus directional indicator (+DI) 9.3; Minus directional indicator (-DI) 31.7; Previous ADX 33.2; Period 14. Average directional index (ADX) = 34.73. Supporting values: Directional index (DX) 54.63; Directional difference (+DI minus -DI) -22.40; Trend strength band Strong trend (25 to 50); Leading line -DI leads (downtrend pressure). Inputs: +DI is 9.30, -DI is 31.70, the previous ADX is 33.20 and the period is 14. DX: 100 x |9.30 - 31.70| / (9.30 + 31.70) = 54.63. Wilder smoothing: 33.20 + (54.63 - 33.20) / 14 = 34.73. Average directional index result: 34.73 - strong trend (25 to 50).

Example 3: Plus directional indicator (+DI) 18.9; Minus directional indicator (-DI) 17.4; Previous ADX 15.6; Period 14. Average directional index (ADX) = 14.78. Supporting values: Directional index (DX) 4.13; Directional difference (+DI minus -DI) 1.50; Trend strength band Weak or absent trend (below 20); Leading line +DI leads (uptrend pressure). Inputs: +DI is 18.90, -DI is 17.40, the previous ADX is 15.60 and the period is 14. DX: 100 x |18.90 - 17.40| / (18.90 + 17.40) = 4.13. Wilder smoothing: 15.60 + (4.13 - 15.60) / 14 = 14.78. Average directional index result: 14.78 - weak or absent trend (below 20).

Wilder's 20, 25 and 50 bands

The bands are conventions, but durable ones. Wilder himself treated 25 as the line above which a directional movement trade was worth taking, and later practitioners added the texture: below 20, chop; 25 to 50, a working trend; above 50, a trend so strong it is often nearer exhaustion than continuation. The first example's 25.78 has only just crossed into the working band - a young certified trend - while the second example's 34.73 is a trend in its prime.

What the bands never encode is direction or value. An ADX of 34.73 in a downtrend, like the second example, is a strong signal to a short seller and a warning to a bargain hunter, and the number itself favours neither. Pair every ADX reading with the leading-DI figure before it means anything actionable.

When the ADX misleads

The classic misreading is to treat a rising ADX as bullish. It rises in collapsing markets exactly as happily as in rallying ones, because collapse is directional movement too. The second example is the standing warning on this page: the strongest ADX of the three belongs to the downtrend. Any summary that reports the ADX without its leading DI line has thrown away the half of the information you act on.

The second trap is the lag at genuine turning points. The smoothing that makes the ADX trustworthy mid-trend makes it certify the old trend while the new one is already days old, and it decays slowly after a trend dies, blessing the early chop of a range with the previous trend's credentials. Wilder accepted both costs; the gauge is a veto and a certificate, not a timing device.

Feeding the calculator from your platform

Platforms print +DI and -DI as standard studies, and the previous ADX is yesterday's value of the same study at the same period. Two consistency rules matter. The DI values and the previous ADX must come from the same period setting - mixing a 14-period DI pair with a previous ADX from another setting corrupts the smoothing step - and they must come from the same bar: the DI pair is today's, the ADX is the prior bar's.

If your platform only prints the ADX itself, you can still use this page in reverse as an audit: with the printed DI values and yesterday's ADX, the one-step result should match today's printed ADX to rounding. A mismatch almost always means the platform smooths the DI lines differently - some use Wilder's original recursion, others a plain exponential average wearing the same name.

FAQs

What does the ADX measure?

Trend strength, and only trend strength. It combines +DI and -DI into DX - their gap as a share of their sum - then smooths DX by Wilder's recursion. Direction must be read from which DI line leads, which this page reports separately.

What ADX does the first worked example give?

+DI 28.40 against -DI 12.60 gives a DX of 38.54. One smoothing step at period 14 from a previous ADX of 24.80 lands at 25.78 - just inside Wilder's strong-trend band of 25 to 50.

Can the ADX be high in a downtrend?

Yes - the second example is exactly that. Its -DI of 31.70 dominates, its DX is 54.63, the largest of the three, and its ADX is 34.73. The ADX certifies the trend's strength; the leading DI line, -DI here, gives its direction.

What do the 20, 25 and 50 bands mean?

Below 20 Wilder's gauge says there is no trend worth trading. From 25 to 50 a trend is established. Above 50 the trend is exceptionally strong - and often nearer exhaustion than continuation. The third example, at 14.78, is the stand-aside case.

Why does the ADX lag at turning points?

Each bar it moves only one period-th of the way toward the new DX - a fourteenth at the standard period. That inertia filters single-bar noise mid-trend, but it also means the gauge certifies the old trend for days after a turn and decays slowly after a trend dies.

What period should I use?

Fourteen is Wilder's convention and the period in all three worked examples. Shorter periods make the gauge jumpier and its certifications cheaper; longer ones make it slower and stricter. Whatever you choose, the DI values and the previous ADX must share it.

Sources

Related calculators

Aroon Indicator Calculator
Aroon-Up and Aroon-Down from the periods since the highest high and lowest low of the 25-period window, with the Aroon oscillator - Tushar Chande's trend-age gauge.
Relative Vigor Index Calculator
The relative vigor index from the smoothed candle body and range - RVI, its signal histogram and trend position.
Vortex Indicator Calculator
The vortex indicator pair VI+ and VI- from the summed positive and negative vortex movements over the summed true range, with the spread that marks the trend side.