EA-22578 · Trend Following

MAMy Expert

This EA uses moving average-based signals to identify and follow market trends, opening positions when price crosses or confirms direction relative to one or more moving averages. It applies systematic entry and exit rules based on MA alignment and price action. The strategy is a classic trend-following approach suitable for trending markets.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMA, EMA, SMA
AuthorCopyright © 2006, Victor Chebotariov

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Conversion problem
GBPUSD0.00%0.00%0.00%0—————Conversion problem
USDJPY0.00%0.00%0.00%0—————Conversion problem
XAUUSD0.00%0.00%0.00%0—————Conversion problem

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

The core strategy of this EA uses moving averages to determine market trend direction, going long on a golden cross and short on a death cross, which is a classic trend-following approach. Entry conditions rely on MA crossover signals and price position confirmation relative to the averages, ensuring positions are opened only after a trend is established. Exit conditions typically include opposite crossover signals or fixed take-profit and stop-loss levels, with some variants adding trailing stops to protect profits. Position sizing uses either fixed lots or equity-proportional calculation, depending on user-configured parameters. Money management relies on take-profit and stop-loss ratios as the primary risk control, though the lack of dynamic position sizing and advanced money management algorithms is a potential weakness. The overall strategy logic is simple and clear, but it is prone to frequent false signals and consecutive losses in ranging or choppy markets.

Strengths

  • Simple and clear strategy logic, easy to understand and optimize parameters
  • Performs well in trending markets, capable of capturing significant trend moves
  • Highly configurable parameters allow users to adapt to different instruments and market conditions

Weaknesses

  • Frequent false signals and consecutive losses in ranging or choppy markets
  • Lacks dynamic position sizing and advanced money management algorithms
  • Reliance on a single indicator type limits strategy adaptability to complex market conditions

Possible improvements

  • Add trend filter indicators such as ADX or ATR to reduce false signals in ranging markets
  • Introduce dynamic position sizing module that automatically adjusts lot size based on account equity and volatility

Risk assessment

Overall risk: Medium

  • Frequent MA crossovers in ranging markets can generate false signals leading to consecutive stop-losses
  • Lacks drawdown control and daily loss limits as capital protection mechanisms
  • Fixed lot sizing mode may cause excessive per-trade risk under high leverage

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation2.0
Documentation1.0
Overall2.2

Parameters

ParameterDefaultDescription
LotSize0.1Fixed trading lot size
MA_Fast_Period10Fast moving average period
MA_Slow_Period50Slow moving average period
StopLoss500Stop loss in points
TakeProfit1000Take profit in points
MA_MethodMODE_SMAMoving average calculation method
MA_Applied_PricePRICE_CLOSEMoving average applied price type
TimeframePERIOD_H1Trading timeframe

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.