ADX + DI Directional Strategy: How to Build It in Arrow Algo

ADX + DI Directional Strategy: How to Build It in Arrow Algo

The ADX DI strategy turns Wilder’s Directional Movement System into a complete trading signal: DI+ and DI- supply the direction, and the ADX confirms there is enough trend strength to act on it. Yesterday we covered the ADX trend strength strategy, where the ADX filters someone else’s entry signal. Today we go one step further — the DI lines generate the entries themselves.

What Is the ADX DI Strategy?

The strategy comes from the full Directional Movement Index (DMI) system, described in Investopedia’s DMI guide. It uses three lines that are calculated together:

  • DI+ (Positive Directional Indicator): measures upward price pressure
  • DI- (Negative Directional Indicator): measures downward price pressure
  • ADX: measures the strength of whichever side is winning

The core rule is simple. Go long when DI+ crosses above DI-, but only if the ADX confirms a real trend. Go short — or exit — when DI- crosses above DI+. Direction and strength are separated into different lines, so each part of the decision is explicit.

How Do DI+ and DI- Show Market Direction?

Each bar, the system asks two questions. Did today’s high push further up than yesterday’s high? Did today’s low push further down than yesterday’s low? The larger of the two movements wins the bar. Upward wins feed DI+, downward wins feed DI-, and both are smoothed over a period — 14 bars is standard.

When DI+ sits above DI-, buyers are consistently pushing prices to new highs. When DI- is on top, sellers dominate. The gap between the lines shows how one-sided the battle is. That gap is exactly what the ADX smooths into its strength reading, which is why the three lines belong together.

DI+ and DI- on Bitcoin, with the ADX gate underneathDaily candles, 15 Feb – 24 Nov 2026. Amber dots: DI+ crosses above DI- with ADX above 25.Grey dots: other crossovers.$60k$70k$80k0204060DI+ / DI-DI+DI-0204060Shaded: ADX above 25ADX15 Feb27 Apr6 Jul15 Sept24 NovData: BTC-USD daily candles from Coinbase. DMI(14), Wilder smoothing. Signals shown, not trades.
Most crossovers happen while the ADX is low, where the DI lines braid. Hover a dot for its date and ADX reading.

When Does a DI Crossover Become a Trade?

A raw DI crossover fires often — too often. In a ranging market, the lines braid around each other and produce constant false signals. That is where the ADX gate earns its place:

  • DI+ crosses above DI- with ADX above 25: a valid long signal in a confirmed trend
  • DI+ crosses above DI- with ADX below 20: ignore it — the market is drifting, not trending
  • Crossover with ADX rising through 20: an aggressive early entry as a new trend forms
  • Opposite crossover while in a trade: the classic exit — the directional battle has flipped

Wilder also suggested an extreme point rule: after a crossover, enter only when price passes the high (or low) of the crossover bar. It is a built-in confirmation buffer that skips the weakest signals.

The ADX gate removes 75% of DI+ crossoversBullish DI+/DI- crossovers on daily candles over the last 12 months, before and afterrequiring ADX above 25.Every crossoverWith ADX above 25BTC112ETH85SOL132XRP122Data: daily candles from Coinbase, 25 Nov 2025 – 24 Nov 2026. DMI(14). Signals counted, not a backtest.
The ADX condition keeps only a fraction of raw crossovers, and the count differs by pair.

How to Trade the ADX DI Strategy in Practice

Variant 1 — the classic gated crossover. Long on DI+ crossing above DI- while the ADX reads above 25. Exit on the reverse crossover. This is the cleanest expression of the system and a strong baseline for backtesting.

Variant 2 — the early-trend version. Require the ADX to be rising rather than above a fixed level. This catches younger trends earlier, at the cost of more false starts. It suits volatile crypto pairs where trends move fast once they ignite.

Variant 3 — the strength-scaled exit. Enter on the gated crossover, but exit when the ADX rolls over from above 40 instead of waiting for the opposite crossover. Trends often weaken well before the DI lines flip, and a falling ADX from a high level is the earliest warning available.

What Mistakes Weaken DI Crossover Systems?

  • Trading every crossover. Ungated DI crossovers are among the noisiest signals in technical analysis. The ADX condition is not optional — it is the strategy.
  • Confusing line height with price direction. DI- rising means downward pressure is increasing. Read the lines as pressure gauges, not price proxies.
  • Using tight stops with a slow system. The DMI reacts gradually. Pair it with volatility-based stops rather than fixed tight ones, or the exits will contradict the entries.
  • Testing one market and assuming it generalises. Crossover frequency varies hugely between pairs and timeframes. Backtest each combination separately.

How to Build the ADX DI Strategy in Arrow Algo

Arrow Algo’s visual builder includes a dedicated DI block that outputs both DI+ and DI-, plus an ADX block for the strength gate. Drag both onto the canvas. Connect the DI outputs to a crossover block to detect the moment DI+ crosses above DI-. Then combine that signal with an ADX condition — above 25, or rising — through a logic block, and route the result to your entry.

The exit is the mirror image: a crossover block watching for DI- to retake the lead. Everything snaps together with drag-and-drop blocks, no code involved. Backtest all three variants on live exchange data from Binance, Coinbase or HyperLiquid and compare trade counts, win rates and drawdowns before you commit to one.

The gated crossover as four block typesData in, two conditions, one action. Your rules send the signal to your own exchange orbroker account.Data WatcherPair and candleinterval youtrade1Indicator blocksDI+, DI- (14) andthe ADX strengthline2Maths blocksDI+ crosses aboveDI-, AND ADXabove 253Action blockEntry signal;exit when DI-retakes the lead4
Four block types carry the whole rule, from data to signal.

What Are the Key Takeaways?

  • DI+ and DI- provide direction; the ADX provides the strength gate — the ADX DI strategy needs both
  • Long when DI+ crosses above DI- in a confirmed trend; the reverse crossover is the natural exit
  • Ungated crossovers are noise — filter with ADX above 25 or a rising ADX
  • A falling ADX from above 40 can exit trades earlier than the DI lines will
  • Backtest per pair and timeframe — crossover behaviour does not transfer between markets

Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk and you should only trade with capital you can afford to lose. Past performance is not indicative of future results. Always conduct your own research before making any trading decisions.

Ready to build your own automated trading strategies without writing a single line of code? Start for free at Arrow Algo and join thousands of traders who’ve made the switch to systematic trading.

See Arrow Algo first on Google. Add us as a preferred source and our articles show up more in your Top Stories.

Add as a preferred source on Google