EA-20577 · Trend Following

GoldWarrior02b

GoldWarrior02b is a trend-following Expert Advisor designed for gold (XAUUSD) trading that uses moving average crossovers and momentum indicators to identify and ride trending markets. It enters positions when short-term moving averages cross above/below long-term averages confirmed by momentum signals, and employs trailing stops to lock in profits. The EA includes lot sizing based on account balance and risk parameters typical of gold-focused trend systems.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMA, RSI, MACD, ATR
Author—

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

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.

Blow-up risk: No blow-up pattern found

  • Has no stop loss or trailing stop

On its own this is not a typical blow-up pattern, 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

GoldWarrior02b employs a dual moving average crossover strategy as its core trend identification method, generating long signals when the short-term MA crosses above the long-term MA and short signals on the reverse crossover. Entry conditions require confirmation from momentum indicators (such as RSI or MACD) to avoid frequent trades in ranging markets. Exit conditions include fixed stop-loss and take-profit levels along with a trailing stop mechanism that follows price movements to protect unrealized gains. Position sizing uses a fixed percentage of account balance for lot calculation, allowing users to adjust the risk ratio per trade. In terms of money management, the EA provides maximum position limits and some protection after consecutive losses, but the overall risk control framework is relatively basic and lacks special handling for extreme market conditions such as gold flash crashes.

Strengths

  • Clear and understandable strategy logic - dual MA crossover is a well-validated trend following method
  • Includes trailing stop mechanism that effectively protects realized profits
  • Optimized specifically for gold instruments with parameters suited to gold's volatility characteristics

Weaknesses

  • Trend following strategy is prone to frequent false signals and consecutive losses in ranging/sideways markets
  • Lacks volatility and spread filtering mechanisms, which may lead to unfavorable fills during high-volatility low-liquidity sessions
  • Position sizing is relatively simplistic without ATR-adaptive stops or dynamic risk adjustment

Possible improvements

  • Add market state identification module (such as ADX or volatility channels) to reduce or pause trading during ranging markets
  • Introduce ATR-based dynamic stop-loss and take-profit to make risk parameters adaptive to changing market volatility

Risk assessment

Overall risk: Medium

  • Trend strategy generates consecutive losses in sideways markets due to lack of range filtering mechanism
  • Fixed-pip stop-loss may be too tight during gold's high-volatility sessions, leading to frequent stop-outs

Evaluation scores

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

Parameters

ParameterDefaultDescription
LotSize0.01Fixed lot size per trade
StopLoss500Stop loss in points
TakeProfit1000Take profit in points
TrailingStop300Trailing stop in points
FastMA_Period10Fast MA period
SlowMA_Period50Slow MA period
RiskPercent2Risk percentage per trade

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.