EA-18576 · Trend Following

Intersection 2 iMA

This EA trades based on the intersection (crossover) of two Moving Average indicators (iMA). It opens buy positions when the fast MA crosses above the slow MA and sell positions when the fast MA crosses below the slow MA, implementing a classic trend-following strategy.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMA
AuthorCopyright © 2010, ZerkMax

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD-0.81%-0.70%5.00%12751.60%-0.15-0.165−$0.37Reliable
GBPUSD+4.55%+3.95%4.08%12650.80%0.801.119+$3.61Reliable
USDJPY-2.16%-1.88%8.07%12852.00%-0.33-0.275−$1.82Reliable
XAUUSD-12.90%-10.78%60.30%12848.00%0.15-0.215−$8.20Reliable

Profitable on 1 of 4 markets with reliable results.

Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.

Against the other Trend Following EAs with a reliable result on the same market: EURUSD: better than 47% of 95 · GBPUSD: better than 81% of 95 · USDJPY: better than 29% of 95 · XAUUSD: better than 38% of 96

Month by month

MarketMonths with a gainBest monthWorst month
EURUSD54%+1.49% 2026-08-1.85% 2026-06
GBPUSD38%+2.79% 2026-01-1.73% 2026-10
USDJPY46%+2.65% 2026-04-3.56% 2026-08
XAUUSD46%+26.37% 2026-01-26.53% 2026-08

From the backtest equity curve, sampled about every two days; only reliable results.

Blow-up risk: No blow-up pattern found

None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.

High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →

Strategy analysis

The core concept of this strategy is dual moving average crossover, a classic trend-following approach. Entry conditions are triggered when the fast moving average crosses the slow moving average — a golden cross signals a buy, while a death cross signals a sell. Exit conditions typically rely on the opposite crossover signal or fixed stop-loss/take-profit levels. Position sizing may use fixed lots or dynamic lot calculation based on account equity. Money management is relatively basic, usually relying on parameterized stop-loss and take-profit to control per-trade risk. The strategy performs well in strongly trending markets but suffers from frequent false signals during ranging or choppy conditions. The inherent lag of moving average crossover strategies means signals are generated after a significant portion of the move has already occurred.

Strengths

  • Strategy logic is simple and clear, easy to understand and maintain
  • Classic trend-following approach with stable performance in trending markets
  • Few parameters with large optimization space, adaptable to different instruments and timeframes

Weaknesses

  • Moving average crossover signals have significant lag, entry points are often suboptimal
  • Frequent false signals in ranging markets lead to consecutive losses
  • Lacks market state (trending/ranging) filtering mechanism

Possible improvements

  • Add a trend filter (such as ADX or ATR) to reduce false signals in ranging markets
  • Implement a trailing stop to protect accumulated profits
  • Add multi-timeframe confirmation to improve signal reliability

Risk assessment

Overall risk: Medium

  • Lack of position existence check may lead to duplicate openings
  • Stop-loss set to 0 exposes the account to unlimited loss risk
  • No new bar check may cause repeated trading on the same bar

Evaluation scores

Code quality2.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation1.0
Documentation1.0
Overall1.8

Parameters

ParameterDefaultDescription
FastMA_Period9Fast moving average period
SlowMA_Period21Slow moving average period
MA_MethodMODE_SMAMoving average method (SMA/EMA/WMA etc.)
LotSize0.1Lot size per trade
StopLoss0Stop loss in points
TakeProfit0Take profit in points

Similar Trend Following EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.