Skip to content
72lab

ADX EA: no-code builder for MT4 / MT5

Volatility and trend strengthADX measures how strong a trend is, not its direction. Above 25 usually means a trend is in place, so EAs often allow trend-following entries only then.

Rules you can build with it

Works as an entry rule or an exit rule. Short rules are mirrored automatically.

  • Long & shortADX rises
  • Long & shortADX falls
  • Long & shortADX is above 25(adjustable level)
  • Long & shortADX is below 25(adjustable level)
  • Long & shortADX crosses above 25(adjustable level)
  • Long & shortADX crosses below 25(adjustable level)

Settings

SettingsDefaultRange
Period142 – 50
Level255 – 80

How the backtest and the EA calculate it

Like MT5's ADX, it uses exponential smoothing (not ADXW, the Wilder version); long and short rules are the same, with no mirroring.

Signals use only closed candles and are filled at the next candle's open. The exported EA checks conditions in the same order, so you get similar results in the MT5 Strategy Tester.

Example strategies

Example 1
  • Entry · ADX (14): ADX rises
  • Stop-loss 300 points, take-profit 600 points
Open in the EA Workshop
Example 2
  • Entry · ADX (14): ADX rises
  • Entry · ADX (14): ADX is above 25
  • Stop-loss 300 points, take-profit 600 points
Open in the EA Workshop

Examples are just a starting point: open one to change settings or add filters, then check it with backtests and robustness tests. Backtest results don't indicate future returns.