ADX indicator: what the average directional index is and how to read it
By Bec, futures trader and founder of Wildflower · Updated
The ADX (average directional index) measures how strongly price has been moving in one direction, on a scale from 0 to 100. It rises in a steady climb and in a steady fall alike, so it says nothing about which way. Two lines that come with it, +DI and −DI, show whether the up moves or the down moves have been bigger.
What the ADX measures, and why it’s called that
The An indicator from 0 to 100 that measures how strongly price has been moving in one direction, up or down. It doesn’t show which direction.More in the glossary answers one question: has price been moving steadily in one direction, or chopping about? A high reading means candles have kept pushing the same way. A low reading means they haven’t.
It’s built from directional movement: how far each One bar on a price chart. It shows where price opened and closed, and the highest and lowest it reached, in one stretch of time.More in the glossary pushed past the high or the low of the candle before it. Two lines, the Two lines behind the ADX. +DI measures upward movement and −DI downward movement, each as a share of the average true range.More in the glossary, track the two sides. +DI is the upward push and −DI the downward push. The ADX is an average of how far apart those two lines are, which is where its name comes from: average directional index.
The ADX is drawn in its own panel, on a scale from 0 to 100. In practice it rarely gets near 100. Many charting tools show the ADX on its own, and some show +DI and −DI with it, as the pictures here do.
Directional movement: the building block
For each candle, measure two things. The up move is its high minus the high before. The down move is the low before minus its low. Then:
- +DM (plus directional movement) is the up move, if it’s bigger than the down move and above zero. Otherwise it’s 0.
- −DM (minus directional movement) is the down move, if it’s bigger than the up move and above zero. Otherwise it’s 0.
So each candle counts one way at most. A candle that reaches past both sides counts only its bigger side, and a candle inside the one before counts nothing.
How the ADX is worked out, step by step
1. +DM and −DM
Work out each candle’s directional movement. Here the length is 3, to keep the picture small.
2. +DI and −DI
Average each with Wilder’s smoothing, divide by the ATR, and times by 100.
3. DX
How far apart the two lines are, as a share of their total, times 100.
4. ADX
Average the DX with the same smoothing. That line is the ADX.
- +DI: Wilder’s average of +DM ÷ Wilder’s average of the true range (the ATR), × 100. On the first value here, (1.5 + 1 + 0) ÷ 3 = 0.83, the ATR is 2.25, so +DI is 37.04.
- −DI: the same with −DM. (0 + 0 + 0.5) ÷ 3 = 0.17, so −DI is 7.41.
- DX: 100 × the gap between them ÷ their total. 100 × (37.04 − 7.41) ÷ (37.04 + 7.41) = 66.67.
- ADX: the plain average of the first three DX values, 77.37. After that, (last ADX × 2 + new DX) ÷ 3.
The The largest of a candle’s high minus its low, its high minus the close before it, and the close before it minus its low. It counts gaps between candles.More in the glossary is the same one the ATR uses, so a gap between candles counts. Read about the ATR. The smoothing, (last value × (length − 1) + new value) ÷ length, is J. Welles Wilder’s, the same as in his ATR and RSI.
Because the ADX averages something that is itself averaged, it needs more candles before its first value than the DIs do. With a length of 14, the DIs start on the 15th candle and the ADX on the 28th. Some tools start their averages slightly differently, so their early values can differ a little.
A length of 14 is the one charting tools often start with. That’s a starting point, not a rule. Some tools also let you set the DI length and the ADX smoothing separately. The lengths are your choice.
How to read the ADX
Rising ADX. Price has been moving more steadily in one direction. Falling ADX. Less so: the moves have been getting smaller, or more mixed.
No direction. The ADX climbs in both pictures above, in a rise and in a fall. A high ADX doesn’t mean price is going up. For the direction, look at which DI is on top: +DI in the rise, −DI in the fall.
It lags. The ADX is an average of an average, so it reacts slowly. In the picture at the top, the ADX keeps climbing for two candles after the rise’s highest close, and it stays high through the pause. It’s a An indicator built from past prices, so it changes after price has already moved.More in the glossary: it describes the recent past.
The DIs cross. When the rise turns into the fall, −DI rises past +DI. Some traders mark that cross. The ADX often dips around the turn, as it does here, because the two DIs are close together for a while.
Levels. Some traders mark a level on the ADX and read a reading above it as a trending market, and below it as a sideways one. There’s no single level that means a trend. Where you draw the line is your choice.
An ADX level: what counts, and what doesn’t
Here the dashed line is at 25, made up for the pictures.
Above the line counts. In the first picture, the ADX is above it and rising.
Below doesn’t. In the second, price goes sideways and the ADX stays under the line.
Above, but falling, is your rule. In the third, the ADX is still above the line, but it’s falling because the rise has stopped. If your rule only says “above the level”, it counts. If it also says “and rising”, it doesn’t.
Which candles. The ADX changes with every candle, so your rule decides whether it’s read at the close of the candle you’re looking at or the one before.
What the length changes
A 7-candle ADX reacts faster: it climbs higher in a steady move and turns sooner when the move stops. A 14-candle ADX is smoother and slower. Neither is right or wrong. They describe different stretches of time.
How traders use the ADX
The ADX doesn’t give buy or sell signals on its own, because it has no direction. A few ways you’ll see it used:
- A filter. Some traders only look for setups that follow a move when the ADX is above a level they choose, and only look for setups inside a range when it’s below.
- With the DIs. Some read +DI above −DI as the up side leading, and the reverse as the down side leading, and use the ADX to say how strongly.
- Rising or falling. Some care less about the level and more about whether the ADX is going up or down.
None of these tells you what price will do next. The ADX describes how price has been moving.
Where the ADX comes from
J. Welles Wilder Jr. introduced directional movement and the ADX in his 1978 book New Concepts in Technical Trading Systems, the same book as the ATR and the RSI. He wrote it for commodity futures traders. The same book also describes the ADXR, a smoother version of the ADX. Read about the RSI.
Often confused with
DMI. The directional movement index: +DI and −DI together, often with the ADX. Some charting tools use DMI as the name for all three lines.
ATR. Also Wilder’s, and part of the ADX’s sums. The ATR measures how big candles are. The ADX measures how steadily they push one way. Read about the ATR.
RSI. Another 0 to 100 scale from Wilder. The RSI compares closes that went up with closes that went down, so it has a direction. The ADX doesn’t. Read about the RSI.
Trend and range. Whether a market is trending or moving sideways is a wider question. The ADX is one way to measure it. Read about trend and range.
Using the ADX in an indicator for TradingView
Build your own setup, in plain words
Wildflower’s Indicator marks setups on a chart from rules you describe in plain words, with every number typed by you. It builds from moving averages, the RSI, the ATR, Bollinger Bands, candle patterns, opening ranges and more. The ADX isn’t one of its building blocks. If you describe an ADX rule, it tells you plainly. Everything it can build, you can check on a chart for free, then add to TradingView with a step-by-step guide.

Free to build
Common questions
What does ADX stand for?
Average directional index.
What does the ADX tell you?
How steadily price has been moving in one direction, on a scale from 0 to 100. It doesn’t say which direction.
Does a high ADX mean price will go up?
No. The ADX rises in a steady fall just as it does in a steady rise. +DI and −DI show which side has been bigger.
What are +DI and −DI?
The two directional indicators. +DI measures the upward push and −DI the downward push, each as a share of the ATR.
What is a good ADX setting?
There isn’t one right setting. Charting tools often start at 14, but the length is your choice.
What ADX level means a trend?
There’s no single level. Some traders mark one and call readings above it trending, but where you draw the line is your choice.
Why does the ADX lag?
It’s an average of the DX, which is built from averages itself. Each layer of smoothing adds delay.
What is the difference between ADX and DMI?
DMI is the name for +DI and −DI, and some tools use it for all three lines. The ADX is the one line that measures strength.
Who invented the ADX?
J. Welles Wilder Jr., in his 1978 book New Concepts in Technical Trading Systems.
Learn it step by step in Wildflower Trading School, starting with the lesson “ADX and DMI”.