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 (the main line): Measures how strong the trend is. Ranges from 0 to 100 but rarely exceeds 60 in practice.
- +DI (Plus Directional Indicator): Measures upward directional movement. When +DI is higher, bulls are in control.
- -DI (Minus Directional Indicator): Measures downward directional movement. When -DI is higher, bears are in control.
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.
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:
- ADX below 20: Weak or absent trend. The market is ranging.
- ADX 20-25: Gray zone. A trend might be emerging, but it's not confirmed.
- ADX above 25: The market is trending. The trend is strong enough to trade.
- ADX above 40: Very strong trend. Momentum is powerful.
- ADX above 50: Extremely strong trend. Rare, and often seen near the climax of a major move.
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:
- +DI above -DI: Bullish directional pressure dominates. Buyers are making more upward progress than sellers are making downward.
- -DI above +DI: Bearish directional pressure dominates. Sellers are winning.
- DI lines intertwined: Neither side has control. The market is directionless. ADX will typically be below 20 when this happens.
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:
- RSI overbought/oversold at 70/30 becomes reliable because price is oscillating within a range
- Bollinger Band touches become fade trades (buy the lower band, sell the upper)
- Support and resistance levels hold, making range-bound trading strategies effective
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.
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.
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.
- Entry: +DI crosses above -DI (for longs) or -DI crosses above +DI (for shorts)
- Filter: ADX must be above 25 at the time of the crossover, or rising toward 25 from below
- Stop: Below the most recent swing low (for longs) or above swing high (for shorts)
- Exit: When ADX turns down from above 40, or when the DI lines cross back
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.
- Setup: ADX has been below 20 for at least 10 bars
- Trigger: ADX rises above 20 (or better, above 25)
- Direction: Determined by which DI line is on top. +DI above -DI = go long. -DI above +DI = go short
- Stop: Use an ATR-based stop at 2x ATR from entry
- Target: Trail with 2x ATR or hold until ADX peaks and turns down
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.
- Signal: ADX has been above 40, then starts declining while still above 25
- Action: Tighten trailing stops on existing trend-following positions. Take partial profits
- What NOT to do: Immediately reverse. A declining ADX means the trend is decelerating, not reversing. The stock could consolidate sideways, pull back modestly, or resume trending
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 below 25 + RSI at 70: Bearish. Range-bound market, RSI overbought = sell/short signal. Price is likely to revert back toward the middle of the range.
- ADX above 25 + RSI at 70: Bullish confirmation. Trending market, RSI overbought = strong momentum. Not a sell signal. The stock is trending hard and RSI is reflecting that strength.
- ADX above 25 + RSI pulling back to 40-50: Buy the dip. In a strong uptrend, RSI pulling back to the 40-50 zone (without going oversold) often marks the end of a healthy retracement. The trend is intact (ADX confirms), and the pullback in momentum (RSI confirms) has run its course.
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:
- High ADX + high ATR: Strong trend with wide swings. Use wider stops, expect fast moves.
- High ADX + low ATR: Strong, steady trend without much volatility. Tight stops work. This is the easiest environment to trade.
- Low ADX + low ATR: Quiet, range-bound market. Coiled spring, watch for a breakout.
- Low ADX + high ATR: Volatile chop. The worst environment. Big moves in both directions with no follow-through. Stay out.
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.