ADX with DI
Indicator
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.
-DI leads +DI. ADX is 59.7388.
ADX 59.7388 · +DI 2.6956 · -DI 44.5335
-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.
+DI leads
+DI is the upper of the two directional lines.
-DI leads
-DI is the upper line.
ADX climbing
The two DI lines are farther apart than they were.
ADX easing
The DI lines are closer. Direction is less one-sided.
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.
Build the DI pair
Smooth the directional moves and the true range over 14 bars. +DI and -DI start on record 14.
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.
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.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| ADX Smoothing | 14 | 1 to 5,000 | How many DX values go into ADX. The Signal lens changes this. |
| DI Length | 14 | 1 to 5,000 | How many bars go into +DI and -DI. |
| Lines | ADX #F50057, +DI #2962FF, -DI #FF6D00 | Fixed | Three 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.
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
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
The lead is not just a one-bar flip. The gap has been growing.
Stand aside when ADX is falling through a cross
The side changed while the gap was shrinking. Many traders wait for ADX to turn up.
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 + Directional Movement Index
Same three lines and the same defaults. Use either page. The maths does not change.
ADX with DI + Average Directional Index
ADX alone, if you only want the strength line.
ADX with DI + EMA
A long EMA shows the price trend next to the DI lead.
ADX with DI + RSI
RSI shows whether the closes are stretched once the DI pair has picked a side.
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 indicatorsTry ADX with DI on a live chart.
Free. No download.
Works in your browser and on iPhone too.