ADX with +DI and -DI

ADX with DI
Indicator

TrendSeparate panelFree on ChartLabs

ADX with +DI and -DI plots the three directional lines in one panel. The DI pair shows the side. ADX shows whether that side has been steady.

Created by J. Welles Wilder Jr., 1978. Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AIADX with DIchartlabs.co/charts
Atlas reads it

-DI leads +DI. ADX is 59.7388.

ADX 59.7388 · +DI 2.6956 · -DI 44.5335

Atlas reads it

-DI leads +DI. ADX is 59.7388.

ADX 59.7388 · +DI 2.6956 · -DI 44.5335

Illustration on simulated data.

ADX with +DI and -DIWhat is the ADX with DI indicator?

This is the same Wilder calculation as the Directional Movement Index page, under the name the picker uses for the three-line form. +DI tracks smoothed up moves, -DI tracks smoothed down moves, and ADX tracks how far apart those two have been.

The inputs are ADX smoothing 14 and DI length 14. +DI and -DI start on record 14. ADX, a second Wilder average, starts on record 27. The same example bar used on the DMI page, high 12 and low 9.5 after high 11 and low 10, is a +DM of 1 and a -DM of 0 before any smoothing.

Colours match the DMI page: ADX #F50057, +DI #2962FF, -DI #FF6D00, 1 px, 4 decimals. The separate Average Directional Index indicator draws ADX alone, in #F23645, and it does not draw the DI pair.

Same maths as DMI

The three lines match the Directional Movement Index record for record. This page is the picker's name for that view.

ADX has no side

A high ADX only says +DI and -DI disagree. Look at which DI is above the other.

ADX with DI signalsFive patterns to know.

1Bullish lean

+DI leads

+DI is the upper of the two directional lines.

2Bearish lean

-DI leads

-DI is the upper line.

3Inconclusive

ADX climbing

The two DI lines are farther apart than they were.

4Inconclusive

ADX easing

The DI lines are closer. Direction is less one-sided.

5Inconclusive

The lead changes

+DI and -DI have swapped places. Check ADX before treating it as a new trend.

ADX with DI formulaHow it is calculated.

ADX=Wilder(100×|+DI−-DI|+DI+-DI)
STEP 1

Build the DI pair

Smooth the directional moves and the true range over 14 bars. +DI and -DI start on record 14.

STEP 2

Measure the gap

DX is 100 times the absolute difference of the two DIs, divided by their sum. If the sum is 0, the divisor used for that bar is 1.

STEP 3

Smooth the gap

ADX is a 14-bar Wilder average of DX. The first ADX value is on record 27.

ADX with DI settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
ADX Smoothing141 to 5,000How many DX values go into ADX. The Signal lens changes this.
DI Length141 to 5,000How many bars go into +DI and -DI.
LinesADX #F50057, +DI #2962FF, -DI #FF6D00FixedThree lines, 1 px, 4 decimals.
Setting
ADX Smoothing
Default
14
Range
1 to 5,000
What it changes
How many DX values go into ADX. The Signal lens changes this.
Setting
DI Length
Default
14
Range
1 to 5,000
What it changes
How many bars go into +DI and -DI.
Setting
Lines
Default
ADX #F50057, +DI #2962FF, -DI #FF6D00
Range
Fixed
What it changes
Three lines, 1 px, 4 decimals.
1423 bars in the ADX average
70,20866,82563,44360,06164,803.7

Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.

ADX with DI strategiesUse it in 3 setups.

Trade with the upper DI

While+DIstays above-DI

The up moves have been the larger ones. Traders often use that as a filter, with ADX as a second look.

Prefer a rising ADX

IfADXis risingwhile one DI leads

The lead is not just a one-bar flip. The gap has been growing.

Stand aside when ADX is falling through a cross

Ifthe DIs crossandADXfallsthenwait

The side changed while the gap was shrinking. Many traders wait for ADX to turn up.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

ADX with DI mistakesCommon mistakes.

Buying because ADX is high

High means the two DIs are far apart. If -DI is the one on top, the strong side is down.

Ignoring the warm-up

The DI lines are empty through record 13, and ADX through record 26. Early crosses on a fresh chart are not there yet.

Using this as a price target

The scale is 0 to 100 in its own panel. None of the three lines is a price.

ADX with DI combinationsPair it with these.

ADX with DI FAQQuestions traders ask.

What are the ADX with DI settings?

ADX smoothing 14 and DI length 14. No source input.

Is this the same as DMI?

Yes. Same Wilder maths, same colours, same start bars. The picker lists it under this name.

When does ADX start?

On record 27 when both lengths are 14. +DI and -DI start on record 14.

What do the colours mean?

ADX is #F50057, +DI is #2962FF, -DI is #FF6D00. Values print to 4 decimals.

What does ADX falling mean?

The gap between +DI and -DI is smaller than it was. The lead may still be the same side.

Which line is direction?

+DI and -DI. ADX only measures how far apart they are.

Does it repaint?

No. Closed bars stay. The live bar updates until it closes.

Who published it?

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

Related indicatorsMore trend tools.

All trend indicators

Try ADX with DI on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
ADX/DI