Skip to content

ADX Strategy Templates

  1. ADX Trend Filter + EMA Directionadx_above_threshold with EMA for directional trades
  2. ADX Regime Switch — Use ADX level to toggle between trend and mean-reversion modes
  3. ADX Breakout Confirmation — Confirm breakouts when ADX is rising

Strategy 1: ADX Trend Filter + EMA Direction

Overview

Use ADX to confirm trend exists, EMA for direction, RSI for entry timing.

When This Works Best

  • Trending markets
  • 4H to 1D timeframes

Algorithm Configuration

SettingValue
TypeBOTH
Position Size50% of equity (REL)
Order TypeMARKET
TimeoutCOOLDOWN_ONLY, 3 bars

Long Entry Conditions

GroupIndicatorSignalThreshold
RequiredADXadx_above_threshold25
RequiredEMAprice_above_ema
RequiredRSIrsi_below_threshold40

Long Exit Conditions

SettingValue
RequiredADX · adx_below_threshold · 20
Stop Loss5% (REL), trailing
Take Profit10% (REL)

Short Entry Conditions

GroupIndicatorSignalThreshold
RequiredADXadx_above_threshold25
RequiredEMAprice_below_ema
RequiredRSIrsi_above_threshold60

Short Exit Conditions

SettingValue
RequiredADX · adx_below_threshold · 20
Stop Loss5% (REL), trailing
Take Profit10% (REL)

Recommended Parameters

IndicatorParameterValueNotes
ADXDI Period14Standard
ADXThreshold25Trend filter
EMAPeriod20 barsDirection
RSIPeriod14Entry timing

Strategy 2: ADX Mean Reversion Mode

Overview

When ADX signals no trend (<20), trade RSI extremes for mean-reversion.

When This Works Best

  • Ranging/sideways markets
  • After strong trends exhaust
  • 1H to 4H timeframes

Algorithm Configuration

SettingValue
TypeBOTH
Position Size35% of equity (REL)
Order TypeMARKET
TimeoutCOOLDOWN_ONLY, 5 bars

Long Entry Conditions

GroupIndicatorSignalThreshold
RequiredADXadx_below_threshold20
RequiredRSIrsi_below_threshold30

Long Exit Conditions

SettingValue
RequiredRSI · rsi_above_threshold · 55
Stop Loss3% (REL)
Take Profit6% (REL)

Short Entry Conditions

GroupIndicatorSignalThreshold
RequiredADXadx_below_threshold20
RequiredRSIrsi_above_threshold70

Short Exit Conditions

SettingValue
RequiredRSI · rsi_below_threshold · 45
Stop Loss3% (REL)
Take Profit6% (REL)

Recommended Parameters

IndicatorParameterValueNotes
ADXThreshold20Ranging filter
RSIPeriod14Momentum

Strategy 3: ADX Rising Trend Confirmation

Overview

Enter when ADX crosses above its signal line, confirming trend acceleration.

When This Works Best

  • Early trend stages
  • Post-consolidation breakouts
  • 4H to 1D

Algorithm Configuration

SettingValue
TypeBOTH
Position Size40% of equity (REL)
Order TypeMARKET
TimeoutREGULAR, 3 bars

Long Entry Conditions

GroupIndicatorSignalThreshold
RequiredADXadx_above_signalLine
RequiredEMAprice_above_ema

Long Exit Conditions

SettingValue
RequiredADX · adx_below_signalLine
Stop Loss5% (REL)
Take Profit10% (REL)

Short Entry Conditions

GroupIndicatorSignalThreshold
RequiredADXadx_above_signalLine
RequiredEMAprice_below_ema

Short Exit Conditions

SettingValue
RequiredADX · adx_below_signalLine
Stop Loss5% (REL)
Take Profit10% (REL)

Recommended Parameters

IndicatorParameterValueNotes
ADXPeriod14Standard
ADXSignal Line9Smoothing
EMAPeriod20Direction

  • Test ADX threshold levels: 20 vs 25 vs 30 for trend filtering
  • Compare with and without ADX filter: Quantify the improvement
  • Test ADX period: 10 vs 14 vs 20 for responsiveness