Indicators

ADX and DI Explained: Measuring Trend Strength

How the Average Directional Index measures trend strength, how +DI and −DI show direction, and how to use ADX as a regime filter in Setup.Cash.

By Setup.Cash TeamLast updated 2026-06-252 min read291 words

Featured image placeholder

/og/setup-cash-og.svg

The ADX (Average Directional Index) answers a different question than most indicators. It does not tell you which way the market is going — it tells you how strongly it is trending. Paired with +DI and −DI, it becomes one of the best regime filters available.

ADX, +DI, and −DI

  • ADX (0–100): trend strength, regardless of direction.
  • +DI: strength of upward movement.
  • −DI: strength of downward movement.

Reading them together:

  • ADX below 20–25: weak or no trend (ranging market).
  • ADX above 25: a real trend is present.
  • ADX rising: the trend is strengthening.
  • +DI above −DI: upward pressure dominates; the reverse for downward.

The Best Use: A Regime Filter

The single most valuable use of ADX is to decide whether to trade a trend strategy at all:

  • Only take trend/breakout signals when ADX > 25. This keeps your trend bot out of chop, where trend signals fail.
  • Switch to mean-reversion when ADX < 20. Ranging conditions favor fading extremes.

This regime awareness can dramatically improve a strategy by simply not trading in the wrong environment.

Directional Signals

Some traders trade the DI cross: long when +DI crosses above −DI (with ADX rising), short when −DI crosses above +DI. It works, but ADX shines most as a filter layered on top of another entry.

Building It in Setup.Cash

Add the ADX + DI indicator in the builder, then gate your entries with an ADX condition (e.g., ADX > 25). Or describe it to text-to-strategy: "EMA crossover on GBPUSD 1h, only when ADX is above 25."

Tuning

  • Length 14: the standard.
  • Higher threshold (30): stricter — only the strongest trends.
  • Lower threshold (20): more permissive.

Backtest with and without the ADX filter to confirm it actually improves your metrics — a good filter reduces drawdown even if it slightly reduces total trades.

Build a Custom Version

In the Indicators Lab you can build directional-strength tools and expose a simple "trend is strong" boolean event to wire into entries. Generate it with AI or build it by hand.

ADX will not generate entries on its own, but as a filter it is one of the highest-leverage additions to a trend strategy. Use it to trade only when the market is actually trending — and validate the improvement with backtesting.

Not financial advice. Trading involves risk. Use backtesting and paper trading before risking real capital.

Related Posts

View all

Indicators

CCI (Commodity Channel Index) Explained

How the Commodity Channel Index measures price deviation from its average, how to read the ±100 levels, and how to automate CCI in Setup.Cash.

2 min read · 268 words

Indicators

MACD Indicator Explained for Automated Trading

How the MACD (Moving Average Convergence Divergence) works, what the signal line and histogram tell you, and how to build a MACD strategy in Setup.Cash.

2 min read · 336 words

Start here

Build your trading bot workflow with structure

Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.