Momentum Indicators

ADX (Average Directional Index) indicator

Wilder's ADX: trend strength on 0-100, with optional +DI and -DI trend-direction lines. ADX above ~25 is conventionally a strong trend.

Definition

Wilder's ADX: trend strength on 0-100, with optional +DI and -DI trend-direction lines. ADX above ~25 is conventionally a strong trend.

Parameters

Asset, Lookback period (14), Line (adx | plusDi | minusDi)

Output range: 0 to 100

Example condition

text
`ADX(AAPL, 14) > 25` (Strong trend, either direction)

Usage notes

ADX measures trend STRENGTH, not direction. Pair with +DI > -DI for bullish direction, -DI > +DI for bearish.

Use in a strategy

Add this indicator to a strategy condition, choose its supported parameters and compare the output with the threshold required by your rule. Preserve the same interval and lookback when comparing backtests.

After saving the condition, inspect its asset, interval, lookback and comparison operator against the parameters above. If no trades occur, check whether the condition ever became true and whether the requested input data exists for that period. A missing input is not a zero-valued signal. An indicator produces an input to a rule. It does not establish future returns, and data availability can differ across assets and periods.