ADX: Average Directional Movement Index
Measures the velocity and conviction of a trend independently of direction.
@ADX(high, low, close, 14) > 25 Key Takeaways
- Non-directional trend strength indicator: measures conviction, not trajectory.
- Readings > 25 indicate trending conditions; < 20 indicates sideways chop.
- Essential regime gate to prevent whipsaw losses during rangebound markets.
What It Means in Simple Terms
ADX is your trend-strength meter. Think of it like a wind gauge: it tells you if a powerful gale is blowing, but doesn't tell you if it's blowing North or South. When ADX is below 20, the market is calm and directionless (rangebound). When ADX crosses above 25, a strong trend has taken over.
How It Helps You as an Investor
It acts as a master gatekeeper. Trend-following strategies make great money when markets trend, but bleed cash from false breakouts when markets chop sideways. By adding `ADX > 25` as a rule, you ensure your trend strategy only trades when there is genuine wind in the sails.
Visual Node Rule Syntax & How to Plug in Values
@ADX(high, low, close, 14) > 25 Parameter Tuning & Market Calibration
Standard lookback is 14 bars. ADX < 20: No trend; trade mean-reversion or stay in cash. ADX 25 to 40: Strong, healthy trend; optimal regime for trend following. ADX > 50: Overextended trend; warning of potential trend climax or reversal.
Input Fields & Parameters
| Field / Parameter | Type | Default | Role & Description |
|---|---|---|---|
high | field | Required | Historical input price or volume series from market feed. |
low | field | Required | Historical input price or volume series from market feed. |
close | field | Required | Historical input price or volume series from market feed. |
timeperiod | int | 14 | Lookback period or tuning parameter for market calibration. |
Mathematical Formulation
The mathematical definition of ADX (Average Directional Movement Index) as evaluated within the Saral Engine execution pipeline:
Variable & Parameter Definitions
Computes positive and negative directional movement (+DM, -DM), normalizes them against True Range to produce +DI and -DI, and smooths their relative difference over $n$ periods.
Systematic Strategy Applications
@ADX(high, low, close, 14) > 25 and @PLUS_DI(high, low, close, 14) > @MINUS_DI(high, low, close, 14) Enter trend trades only when trend strength exceeds 25 and directional movement is upward.
Common Questions & Practical Considerations
Can ADX be used to determine direction?
No. ADX rises during both aggressive bull runs and steep market crashes. Pair it with +DI / -DI or price moving averages to determine direction.
Why does ADX lag fresh reversals?
Because it applies double smoothing (first on True Range, then on the DX spread). It usually takes 3 to 6 bars after a market bottom for ADX to confirm the new trend.