ADX Indicator: Average Directional Index

How to tell whether a stock is trending or chopping sideways, and why that single distinction changes everything.

What Is ADX?

The Average Directional Index (ADX) measures trend strength. Not direction. Strength. A rising ADX means the current trend, whether up or down, is getting stronger. A falling ADX means the trend is weakening or the market is ranging.

Created by J. Welles Wilder in 1978 (the same person behind RSI and ATR), ADX is actually part of a larger system called the Directional Movement System. It consists of three lines:

ADX tells you how much the market is trending. The DI lines tell you which direction. You need all three.

The calculation (simplified)

The math behind ADX is more involved than most indicators. Here's the chain: first, calculate the Directional Movement (+DM and -DM) for each bar by comparing how much the high extended vs. how much the low extended. Smooth those values over 14 periods. Divide each by ATR to get +DI and -DI (expressed as percentages). Then calculate DX, the absolute difference between +DI and -DI divided by their sum. Finally, smooth DX over another 14 periods to get ADX.

You don't need to calculate this by hand. What matters is the intuition: ADX is a smoothed measure of how consistently price is moving in one direction. When price trends steadily, DI values diverge and ADX rises. When price chops back and forth, the DI values stay close together and ADX falls.

AAPL - ADX with +DI/-DI Open full chart →

On the AAPL chart, watch how ADX rises during sustained moves (both rallies and selloffs) and falls during choppy sideways periods. The +DI and -DI lines cross each other as the directional balance shifts between buyers and sellers.

Reading ADX

The standard thresholds are simple:

The most common ADX mistake: High ADX does not mean bullish. ADX of 45 during a selloff means the downtrend is powerful. ADX measures the strength of whatever trend is happening. To know the direction, look at +DI vs. -DI.

ADX direction vs. ADX level

Both the level and the direction of ADX matter. A rising ADX means the trend is strengthening, regardless of whether it's at 15 or 35. A falling ADX means the trend is losing steam.

The most actionable state: ADX rising from below 20. This signals that a new trend is emerging from a period of consolidation. Identify the direction from the DI lines and you've caught the trend early.

The most dangerous state: ADX peaking at a very high level (above 45) and starting to turn down. This doesn't mean the trend is reversing. It means the trend is decelerating. The stock might consolidate sideways or pull back modestly before either resuming the trend or reversing. A declining ADX from a high level is a signal to tighten stops and take some profits, not to immediately reverse your position.

Reading the DI lines

The +DI and -DI lines show directional pressure:

SPY - ADX with +DI/-DI Open full chart →

On SPY, notice how the DI lines separate during trending periods and converge during consolidation. The ADX line confirms the trend's strength. When all three tell the same story, the signal is clear.

Trending vs. Ranging Markets

This is ADX's killer feature. Most indicators don't tell you what kind of market you're in. Moving averages assume a trend exists. RSI assumes you know whether to interpret overbought as "sell" (range) or "strong" (trend). ADX explicitly answers the question: is this market trending or not?

Why does this matter? Because trend-following strategies and mean-reversion strategies are opposites. Using the wrong type in the wrong market environment is the single biggest reason indicators "don't work." They work fine. You're just applying them in the wrong context.

When ADX is below 20-25: range mode

Stop using trend-following indicators. Moving average crossovers will whipsaw you. MACD crossovers will be constant and meaningless. Breakout strategies will trigger false breakouts that immediately reverse.

Instead, switch to mean-reversion strategies:

When ADX is above 25: trend mode

Now trend-following works. Moving averages provide reliable support and resistance in the direction of the trend. MACD crossovers have follow-through. Breakouts tend to stick.

In trend mode, don't fade extremes. RSI hitting 70 in an uptrend with ADX above 30 is not a sell signal. It's confirmation that the trend has strong momentum behind it. RSI overbought means "sell" in a range. It means "strong" in a trend. ADX is what tells you which interpretation to use.

ADX as a strategy filter: Before applying any indicator signal, check the ADX. Below 25? Use mean-reversion rules. Above 25? Use trend-following rules. This single filter dramatically improves the hit rate of almost every other indicator in your toolkit.

MSFT - ADX Trending vs. Ranging Open full chart →

Look at MSFT above. During periods where ADX is below 20, price chops sideways and any trend-following indicator would have destroyed you. When ADX climbs above 25, sustained directional moves develop. Knowing which regime you're in changes everything about which setups to take.

See ADX on any stock

Real-time ADX with +DI/-DI lines. Free, no limits.

Open SPY chart

ADX Trading Setups

Three concrete setups that use ADX for more than just background context.

1. DI crossover with ADX filter

A DI crossover on its own is unreliable. +DI crossing above -DI looks bullish, but in a range-bound market it will reverse within days. The ADX filter fixes this.

The ADX filter eliminates most of the false crossovers. A +DI/-DI crossover when ADX is at 15 is noise. A crossover when ADX is at 30 and rising has a strong trend behind it. The difference in win rate is substantial.

2. New trend emergence

This setup catches trends early. It triggers when ADX has been below 20 (no trend) and starts rising.

The logic: a market that has been range-bound builds up energy. When ADX starts rising from a low base, that energy is being released into a directional move. The earlier you catch it, the better the risk/reward. The stop is tight because you're entering when volatility has been low (compressed ATR), meaning your stop distance in dollar terms is small relative to the potential trend that's developing.

3. Trend exhaustion warning

This isn't a trade entry. It's a position management signal.

TSLA - ADX Setups Open full chart →

TSLA is a great stock to study ADX on because it alternates between powerful trends (ADX surging above 40) and messy range-bound periods (ADX languishing below 20). The DI crossovers during high-ADX periods tend to produce tradeable moves. The crossovers during low-ADX periods are traps.

Combining with Other Indicators

ADX's primary role is as a filter. It makes other indicators better by telling you which signals to trust based on market conditions.

ADX + RSI

This is one of the most powerful combinations in technical analysis. RSI generates signals constantly, but the interpretation depends entirely on whether the market is trending or ranging. ADX answers that question.

ADX + moving averages

Moving average crossovers (like the 50/200 golden cross) produce tons of false signals in range-bound markets. Adding an ADX filter fixes this. Only take MA crossover signals when ADX is above 25. When ADX is below 20, the moving averages are going to cross back and forth as price chops sideways. Ignore those crosses entirely.

ADX + MACD

Same principle. MACD crossovers in a low-ADX environment are whipsaws. In a high-ADX environment, they capture real momentum shifts. Use ADX above 25 as a prerequisite for taking MACD signals, and your hit rate will improve meaningfully.

ADX + ATR

ADX and ATR are natural companions. ADX tells you the trend is strong. ATR tells you how volatile the stock is. Together they define the trading environment completely:

Common Mistakes

1. Confusing ADX direction with price direction

This is the fundamental misunderstanding. ADX going up does not mean price is going up. ADX of 40 during a crash means the crash is powerful. ADX of 40 during a rally means the rally is powerful. ADX is directionless. Always pair it with the DI lines or price action to determine direction.

2. Acting on DI crossovers without ADX confirmation

DI crossovers happen constantly when ADX is low. Every one of them looks like a signal. Almost none of them follow through. In a range-bound market, +DI and -DI will cross back and forth weekly, generating a stream of false signals. The ADX filter (above 25) is not optional. It's what separates the real crossovers from the noise.

3. Using ADX on very short timeframes

ADX on a 1-minute chart is nearly useless. The smoothing inherent in the calculation (14-period DI smoothing plus 14-period ADX smoothing) creates significant lag. On a 1-minute chart, that lag means the ADX is telling you about the trend from 30 minutes ago. By the time ADX confirms a trend on a 1-minute chart, the trend is often already over. Use ADX on 15-minute charts at minimum, and it works best on daily and weekly timeframes.

4. Reversing positions when ADX peaks

A common mistake: ADX hits 50, starts declining, and the trader immediately flips their position. But a declining ADX from a high level doesn't mean the trend is reversing. It means the trend is decelerating. The stock might consolidate sideways for weeks before resuming the trend. Or it might reverse. You can't tell from ADX alone. A declining ADX is a signal to manage risk (tighten stops, take partial profits), not to reverse.

5. Ignoring the lag

ADX is a double-smoothed indicator. It reacts slowly. By the time ADX rises above 25 to "confirm" a trend, the trend has been underway for a while. This is by design: ADX avoids false signals by requiring sustained directional movement before confirming a trend. But it means you won't catch the very beginning of moves. Combine ADX with faster indicators (price action, DI crossovers, volume) for earlier entries, then use ADX as the confirmation that validates your position.

Think of ADX as a market regime detector. Its job isn't to generate trade signals directly. Its job is to tell you which kind of signals to trust. Trending market? Follow breakouts and moving average signals. Ranging market? Fade extremes and trade support/resistance. Get the regime right and everything else gets easier.

Continue learning

Set trend alerts in Risen

Get notified when ADX crosses above 25 or a DI crossover triggers.

Get started free