EA-103 · Trend Following

K_eSimpleMA

This EA uses a dual EMA crossover system to generate trade signals. It buys when a shorter-period EMA crosses above a longer-period EMA and sells on the opposite crossover. Each trade is placed with fixed lot size, stop loss, and take profit levels.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskHigh risk
Blow-up riskLow
Rating★☆☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsEMA
Authortsaktuo

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

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 employs a dual Exponential Moving Average (EMA) crossover strategy as its core trading logic, which is a classic trend-following system. Entry conditions: a buy is triggered when the shorter-period EMA (period=Periods) crosses above the longer-period EMA (period=Periods+2), and a sell is triggered on the opposite crossover. Exit conditions rely entirely on fixed-pip stop loss and take profit levels, with no trailing stop or signal-reversal exit mechanism. Position sizing is fixed at 0.1 lots with no dynamic adjustment based on account balance or market volatility. Money management uses hardcoded SL/TP pip values that are scaled by 10x on 5-digit broker accounts for price precision adaptation. The EMA period difference is only 2, meaning the two moving averages are very close together, which tends to produce frequent false signals in ranging markets.

Strengths

  • Simple and clear strategy logic that is easy to understand and maintain
  • Fixed stop loss and take profit provide defined risk per trade
  • Uses magic number to distinguish orders and avoid conflicts with other EAs
  • Automatic adaptation for 5-digit price quotes

Weaknesses

  • No existing position check, potentially opening duplicate trades leading to excessive exposure
  • No new bar check, evaluating crossover signals on every tick can cause repeated order submissions
  • EMA period difference of only 2 makes the lines too close, generating many false signals in ranging markets
  • Fixed 0.1 lot size ignores account equity, unsuitable for all account sizes
  • No spread filter, may enter trades even when spread is wide

Possible improvements

  • Add position check and new bar check to prevent duplicate trade openings
  • Add spread filter and volatility filter to improve signal quality
  • Change lot size to dynamic calculation based on account balance or risk percentage
  • Consider increasing the EMA period difference or adding a third EMA as a trend filter

Risk assessment

Overall risk: High risk

  • No position check may cause repeated trade openings in the same direction, leading to excessive risk exposure
  • No new bar check may trigger new orders on every tick
  • No spread filter, stop loss may be easily triggered in high-spread environments

Evaluation scores

Code quality2.0
Strategy logic2.0
Risk management1.0
Robustness1.0
Innovation1.0
Documentation1.0
Overall1.3

Parameters

ParameterDefaultDescription
Periods17Main period of the MA indicator
SL31Stop loss in points
TP69Take profit in points
MAGIC999Magic number to identify this EA's orders

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.