EA-16690 · Trend Following

20 200 expert v 4.2 AntS

This EA implements a dual moving average crossover strategy using a 20-period and 200-period moving average, with AntS (Anti-Stop or Anti-S) enhancements in version 4.2. It enters long positions when the fast MA crosses above the slow MA and short positions on the reverse crossover, incorporating additional filters and stop management logic.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsMA(20), MA(200)
AuthorSmirnov Pavel

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD+2.23%+1.94%1.94%3844.70%0.831.156+$5.87Reliable
GBPUSD+2.82%+2.45%2.21%3747.20%0.811.283+$7.19Reliable
USDJPY+2.89%+2.51%2.73%4354.80%0.751.064+$7.25Reliable
XAUUSD+4.13%+3.40%46.56%3554.30%0.320.095+$11.81Reliable

Profitable on 4 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 72% of 95 · GBPUSD: better than 69% of 95 · USDJPY: better than 82% of 95 · XAUUSD: better than 54% of 96

Month by month

MarketMonths with a gainBest monthWorst month
EURUSD46%+1.37% 2026-04-0.89% 2025-12
GBPUSD62%+1.63% 2026-03-1.68% 2026-07
USDJPY46%+2.47% 2026-09-2.10% 2026-01
XAUUSD54%+21.51% 2026-03-27.28% 2026-02

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

This EA is based on the classic 20/200 dual moving average crossover strategy, a quintessential trend-following system. Entry conditions are triggered when the 20-period MA crosses above the 200-period MA for long positions and vice versa for short positions. The AntS enhancement in version 4.2 likely incorporates anti-whipsaw filters or reverse-stop logic to improve signal quality and reduce false entries. Position sizing may use fixed lots or dynamic calculation based on account balance. Exit conditions likely include MA reverse crossover, fixed take-profit/stop-loss levels, or trailing stop mechanisms. Money management is characterized by long-period trend following with the 200 MA, meaning individual drawdowns can be significant but the win rate tends to be relatively stable over trending periods. The strategy performs well in strongly trending markets but can suffer from frequent false signals and consecutive losses during ranging or choppy conditions.

Strengths

  • Simple and clear strategy logic based on the classic dual MA crossover, easy to understand and verify
  • The 20/200 MA combination covers both short and long-term trends, performing excellently in strong trending markets
  • AntS enhancement likely reduces false breakout signals and unnecessary trades
  • The 200-period MA provides a reliable benchmark for trend direction determination
  • Systematic execution eliminates emotional trading and enforces discipline

Weaknesses

  • MA crossover strategies have significant lag, with entries and exits delayed from actual trend reversal points
  • Prone to frequent false crossover signals in ranging markets, leading to consecutive losses
  • The 20/200 combination generates very few signals, potentially resulting in long periods with no trades and low capital utilization
  • If stop-loss is not set or is too wide, individual trade losses can be very severe
  • Lacks volatility or volume filters, making it vulnerable in high-volatility low-trend environments

Possible improvements

  • Add ATR or volatility filters to reduce trade frequency in low-trend-strength environments
  • Incorporate multi-timeframe confirmation, such as entering only when H4 and D1 trend directions align
  • Implement dynamic stop-loss and take-profit based on ATR multiples rather than fixed pip values

Risk assessment

Overall risk: Medium

  • Dual MA crossover has significant lag, potentially causing large drawdowns before exit signals trigger
  • If default stop-loss is 0, there is risk of trading without protective stops
  • Consecutive false signals in ranging markets can cause cumulative losses

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.3

Parameters

ParameterDefaultDescription
FastMA_Period20Fast MA period
SlowMA_Period200Slow MA period
LotSize0.1Trading lot size
StopLoss0Stop loss in points
TakeProfit0Take profit in points
TrailingStop0Trailing stop in points
MagicNumber0EA unique identifier

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.