An ADX trend following strategy adds a question to any trend method: is there actually a trend to follow right now? The Average Directional Index (ADX) does not tell you which way price is heading. It measures how strong the directional movement has been, whichever way it went, and that single job makes it an unusually good filter. This free guide, which you can read with no sign-up, explains how ADX and its two directional lines are calculated, what a reading of 20 or 25 does and does not mean, how to combine ADX with a direction rule so each tool does a separate job, and how to test the filter on your own charts to find out whether it improves anything for your market. It is education about a tool, and it makes no claim that any threshold will produce a better result.
What ADX measures, and what it does not
ADX was introduced by J. Welles Wilder Jr. in his 1978 book on technical trading systems, alongside indicators such as RSI and ATR, and it uses the same smoothing approach. The standard length is 14. It sits in a separate pane and moves between 0 and 100, although readings above 50 are uncommon.
The calculation has three steps. First, for each candle, the indicator compares today’s high with yesterday’s high, and today’s low with yesterday’s low, to decide how much of the move was upward directional movement (+DM) and how much was downward (-DM). Only the larger of the two counts, and only if it is positive. Second, each of those is smoothed over 14 candles and divided by the smoothed true range, producing the two directional indicators: +DI and -DI. Third, the absolute difference between +DI and -DI, divided by their sum, gives a directional index value for each candle, and ADX is the smoothed average of that.
The practical reading is straightforward. +DI above -DI says upward movement has been larger than downward movement recently. -DI above +DI says the opposite. The ADX line itself says how lopsided the picture has been, regardless of direction. A high ADX means one side has dominated. A low ADX means the two sides are similar, which is what a sideways market looks like. ADX can be high in a falling market, and a falling ADX in an uptrend only says that the uptrend has become less one-sided, not that it has reversed.
ADX is a lagging, heavily smoothed measure. It rises after a trend has already started, and it can keep rising after the best part is over. It is therefore used as a gate rather than as a trigger.
The thresholds, and why they are conventions
Wilder suggested that readings above 25 indicate a strong trend, and many traders use 20 as a lower bar. Others use 25 for “trending”, below 20 for “weak or no trend”, and the area in between as a grey zone. These are conventions, widely quoted because they are easy to remember. They are not laws. A threshold of 25 on a 4-hour chart of one instrument might correspond to quite different behavior from 25 on a daily chart of another, because the smoothing and the nature of the market differ.
That is why this guide treats the threshold as something to test, not a constant to trust. You will compare the same direction rule with no ADX gate, with a gate at 20 and with a gate at 25, on the same history, and read the journal columns side by side. It is perfectly possible that, for your instrument and timeframe, the gate removes many poor trades. It is also possible that it removes about as many good ones, and the test is how you find out which.
Rising versus level matters as well. Many practitioners read “ADX above 20 and rising” as a stronger condition than “ADX above 20 but falling”, because the second case describes a trend that is already fading. The rule set below includes this as an optional second condition that you can turn on in a separate test.
Market conditions it suits
Because ADX is a filter for trends, it is relevant to every trend-following approach: moving average crossovers, Donchian breakouts, trailing-stop methods and pullback entries. It is least useful in a method that is built for ranges, where a low ADX is exactly what you want. That contrast is useful. The same indicator that gates a trend method can switch on a range method, a point developed in the trend versus range strategy guide and used from the other side in the RSI mean reversion guide.
It works on any timeframe from 15 minutes up, but the lag is more noticeable on higher timeframes in terms of calendar time: on a daily chart, an ADX rise from 15 to 25 can take two to three weeks. On a 15-minute chart, the same movement takes a few hours, and ADX will cross and re-cross thresholds more often because short-term moves are noisier. Around scheduled news, a single large candle can push ADX up sharply even though it was one event rather than a trend. If you trade in the hours around high-impact releases, record whether the ADX rise came from a single spike candle.
The rule set
This is a deliberately simple two-part design: a direction rule that tells you which way, and ADX as a gate that tells you whether to act. Keeping the roles separate is the most important design decision in the method.
- Direction. Use a rule you can state in one line, such as “the last closed candle is above the 50 EMA and the 50 EMA is above the 200 EMA” for longs (mirrored for shorts). The 20/50/200 EMA stack guide describes this kind of rule.
- Gate. ADX(14) must be above your threshold on the last closed candle. Start at 20. Optional second condition: ADX must be higher than it was three candles ago.
- Directional agreement. For longs, +DI must be above -DI. For shorts, -DI above +DI. This check usually agrees with the EMA rule, and when it does not, the disagreement is itself useful: skip the trade.
- Entry. Use a pullback to the 20 EMA with a closed confirmation, or a breakout of the last swing, but choose one for the test.
- Stop. Beyond the pullback low (for longs), plus a buffer of about a quarter of the 14-period ATR. Write it down first.
- Exit. Close below the 50 EMA, or a trailing stop, or the ADX gate failing for two consecutive closes while price is also back inside the pullback zone. Pick one.
Do not turn this into a stack where ADX, the EMAs, the DI lines, MACD and RSI all have to agree. Every extra condition shrinks the sample, and a method that fires twice a year cannot be tested. Add conditions only in a deliberate experiment, one at a time.
Worked example (illustrative numbers, a 4-hour chart of a major pair)
All numbers are illustrative. The point is how each condition is checked in order and how a failure ends the idea.
| Step | Reading | Result |
|---|---|---|
| Direction | Price closes at 1.3120. The 50 EMA is 1.3050. The 200 EMA is 1.2940. | Stack is bullish. |
| ADX gate | ADX(14) is 27, three candles ago it was 22. | Above 20 and rising. Pass. |
| DI agreement | +DI is 29, -DI is 14. | Agrees with the long direction. |
| Pullback and trigger | Price eases to the 20 EMA at 1.3085, then a 4-hour candle closes at 1.3110 above its open. | Trigger. Entry near 1.3112. |
| Stop | Pullback low 1.3070. ATR(14) is 0.0040, a quarter is 0.0010. Stop at 1.3060. | Risk is 52 pips. |
Now the contrasting case. On another day, the same price relationships appear, but ADX reads 14 and has been below 18 for two weeks. The EMAs are tangled. The gate fails, the trade is skipped, and the journal gets a line reading “skipped: ADX 14”. If that skipped trade later would have worked, that is information about the gate’s cost, and you only learn it if you recorded the skip. A third case: ADX is 31 but falling from 38, with +DI and -DI converging. The optional “rising” condition rejects it, since the trend is already losing its one-sidedness.
Common mistakes
- Using ADX to pick direction. A rising ADX does not mean price is going up. It says the movement is strong in some direction.
- Treating 25 as a switch. A reading of 24.8 is not meaningfully different from 25.2. If the method only works at one exact threshold, it is probably fitted to noise.
- Waiting for confirmation from ADX itself. Because it lags, an entry that waits for ADX to rise above 25 often comes late, after the largest part of the move. Decide whether you are willing to accept that.
- Ignoring the gap between instruments. A threshold tuned on one pair may be too high or low for an index or crypto pair. Test on each separately.
- Changing the ADX length to fit. Moving from 14 to 9 to 21 until the filter looks good is curve fitting. Keep 14 unless you have a reason and a test.
- Over-stacking conditions. More filters bring fewer trades, and a sample too small to learn from.
Variations
DI crossover as direction. Use +DI crossing above -DI as the direction rule, gated by ADX above 20. This keeps everything inside one indicator, at the price of more crossovers in choppy conditions.
Two-threshold hysteresis. Turn the gate on when ADX rises above 25, and only turn it off when it falls below 20. This reduces flicker when the reading hovers near one number.
Range-side use. Reverse the gate: only take mean-reversion ideas when ADX is below 20. Many traders run both a trend plan and a range plan, switched by ADX. The ADX reading is the switch and each plan has its own written rules.
Higher-timeframe ADX. Use the daily ADX as the gate for a 1-hour plan. This slows the switching and keeps the regime consistent through a day. See the multi-timeframe trading strategy guide for the ladder.
How to study and test it yourself
This method suits a clean A/B test, so design it that way. Choose one direction rule, one entry rule and one exit rule, all fixed. Run them over a long stretch of history on one instrument, with no ADX gate at all. Record every trade in R. Then go back through the same trades and mark which ones had ADX above 20, above 25, or rising at the moment of entry. You are not changing the trades, only labelling them. Compare the average R and the number of trades in each group. Then do the same on a second instrument and a second time period.
Look for consistency, not for the best number. If the gate helps on one instrument and hurts on another, the honest conclusion is that it is instrument-specific. If the gate makes trades rarer without changing the average result, you have learned that it is not adding anything on that data. Keep the skipped trades listed, because a filter that removes both bad and good trades equally is just a way of trading less. None of this predicts future behavior. It describes what the rules would have done, which is the evidence you need before relying on them.
The risk-reward ratio page and the ATR position sizing guide explain how to read results and size the trades.
How to apply it on TradingView
Add the built-in Average Directional Index indicator from the Indicators menu. In the settings, the ADX smoothing and DI length both default to 14. Add a horizontal line at 20 and another at 25 with the line tool, or enable the ones in the Style settings if available. Add a 50 EMA and a 200 EMA on the price chart and ATR (14) in the status line. Use the replay tool to move candle by candle, and write the ADX reading for every candidate.
If you would like ADX, a Schaff Trend Cycle and MACD in one pane, Apex Edge MACD Momentum Score combines MACD, STC, ADX and DMI readings into a score between -100 and +100, and can optionally calculate on a higher timeframe. It is paid, optional, and not needed here: the built-in ADX is enough to practice every rule on this page. Apex Edge Trend Path is coming soon and is not for sale yet. For the MACD side of momentum, the MACD histogram colors guide is a free read.
Frequently asked questions
What does ADX measure?
It measures how one-sided recent directional movement has been, on a scale from 0 to 100, whichever way price went. It does not give direction. The +DI and -DI lines show which side has dominated.
Is 25 the line for a trend?
25 and 20 are widely quoted conventions, not laws. Test no gate, a gate at 20 and a gate at 25 on the same history, and compare results for your instrument and timeframe.
Can I use ADX to enter trades?
It lags, so it is better as a gate than a trigger. This guide uses a separate direction rule and an entry rule, and uses ADX to decide whether to act.
What about when ADX is falling?
A falling ADX in an uptrend says the trend has become less one-sided, not that it has reversed. The guide includes an optional rising condition you can test separately.
Do I need a paid indicator?
No. The built-in Average Directional Index is enough. Apex Edge MACD Momentum Score includes ADX and DMI readings and is paid and optional. This guide is free to read with no sign-up.
Is this a trade recommendation?
No. This is general education. Examples use illustrative numbers. Education only. Not financial advice. Trading involves risk of loss.
Keep reading
20/50/200 EMA stack
A direction rule to pair with the gate.
RSI mean reversion
The range side of the same ADX switch.
Trend versus range strategy
A written regime classification.
More in trading strategies (free to read, no sign-up), or browse all guides by topic. Questions? Email contact@brainiosoftware.com.
General information only. This guide is general education, not personal financial product advice or a recommendation to buy or sell anything. Indicator readings, alerts and screener results are not trade recommendations. Examples use illustrative numbers. TradingView is a third-party platform; we are not affiliated with or endorsed by TradingView. Education only. Not financial advice. Trading involves risk of loss. Read the full risk disclaimer.