EA-17545 · Momentum

MacdPatternTraderAll0.01

This EA trades MACD divergence patterns across all symbols, identifying bullish and bearish divergences between price and the MACD indicator to generate trade signals. It enters positions when a confirmed divergence pattern is detected and manages trades with fixed lot sizing and stop-loss/take-profit levels. The strategy is a fully systematic momentum-reversal approach based on classic MACD divergence detection.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMACD, EMA, SMA
AuthorFORTRADER.RU

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

The core strategy of this EA is based on MACD divergence pattern recognition to identify trend reversal points. Entry conditions: a bullish divergence forms when price makes a new low but MACD does not, generating a buy signal; a bearish divergence forms when price makes a new high but MACD does not, generating a sell signal. Exit conditions rely on preset stop-loss and take-profit levels, and positions may also close when an opposing divergence signal appears. Position sizing uses a fixed 0.01 lot size without dynamic adjustment based on account balance or volatility. Money management is simplistic, lacking compound position calculation or proportional risk control mechanisms. The strategy's strength lies in divergence being a classic reversal signal, but the lack of filtering mechanisms may cause frequent counter-trend trades during strong trends.

Strengths

  • MACD divergence is a proven classic reversal trading signal with solid theoretical basis
  • Fixed 0.01 small lot size reduces per-trade risk, suitable for testing and small accounts
  • Supports all trading symbols with strong versatility across multiple markets
  • Clear strategy logic with divergence patterns that are easy to understand and verify
  • Fully automated systematic trading without manual intervention required

Weaknesses

  • Fixed lot size does not account for account size or volatility, making money management inflexible
  • Lacks trend filter, may generate frequent counter-trend divergence signals during strong trends leading to consecutive losses
  • Divergence detection may produce different results with different parameter settings, introducing subjectivity
  • No position scaling mechanism, unable to increase profits when trades move favorably
  • Missing spread filter and trading session filter, may open positions under unfavorable conditions

Possible improvements

  • Add a trend filter (e.g., higher timeframe MA direction) to avoid counter-trend trades during strong trends
  • Implement dynamic position sizing based on account balance and ATR volatility for proportional risk management
  • Add spread filter and trading session restrictions to avoid trading during high spread and low liquidity periods

Risk assessment

Overall risk: Medium

  • Fixed lot size ignores account scale, risk exposure may be too small or mismatched for larger accounts
  • Divergence signals may frequently trigger false reversals during strong trending markets
  • No spread or slippage filter, unfavorable market conditions may cause additional losses
  • No multi-timeframe confirmation limits the reliability of single-timeframe divergence signals

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
StopLossvariableStop loss in points
TakeProfitvariableTake profit in points; close on cumulative profit
MACD_FastEMA12MACD fast EMA period
MACD_SlowEMA26MACD slow EMA period
MACD_SignalSMA9MACD signal SMA period
Divergence_LookbackvariableDivergence detection lookback bars

Similar Momentum 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.