EA-19535 · Momentum

Dealers Trade v 7.74 MACD

This EA trades based on MACD signal crossovers and momentum shifts, entering positions when the MACD histogram crosses the signal line with configurable filters for trend confirmation. It includes position management features such as trailing stops, break-even logic, and partial close capabilities to lock in profits.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMACD, EMA, SMA
AuthorCopyright © 2006, Alex_N

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD-5.38%-4.69%10.25%10246.10%-1.20-0.537−$5.27Reliable
GBPUSD-11.37%-9.96%12.65%10239.20%-2.00-0.906−$11.15Reliable
USDJPY-7.48%-6.54%10.35%9936.40%-1.76-0.727−$7.56Reliable
XAUUSD+59.26%+46.89%50.68%10248.00%1.101.1710+$58.10Reliable

Profitable on 1 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 Momentum EAs with a reliable result on the same market: EURUSD: better than 15% of 68 · GBPUSD: better than 8% of 66 · USDJPY: better than 6% of 68 · XAUUSD: better than 81% of 75

Month by month

MarketMonths with a gainBest monthWorst month
EURUSD54%+1.03% 2026-09-3.55% 2026-04
GBPUSD23%+0.90% 2026-08-4.01% 2026-04
USDJPY38%+1.18% 2025-11-2.24% 2026-04
XAUUSD54%+50.32% 2026-01-25.20% 2026-04

From the backtest equity curve, sampled about every two days; only reliable results.

Blow-up risk: No blow-up pattern found

  • Can hold up to 2 positions at once

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 is MACD momentum trading, using the crossover of the MACD main line and signal line as entry signals — going long when the MACD histogram crosses from negative to positive, and going short when it crosses from positive to negative. Entry conditions may include additional trend direction and volatility filters beyond the MACD crossover to avoid frequent entries in ranging markets. Exit conditions consist of fixed take-profit and stop-loss levels, trailing stops, and break-even logic that activates once price moves a configured number of points in the favorable direction. Position sizing uses either fixed lots or balance-proportional lot calculation, and supports both position addition and partial close operations. Money management incorporates maximum position limits and daily drawdown caps, though specific values depend on user configuration parameters.

Strengths

  • MACD is a well-established classic indicator with clear signal logic suitable for medium-to-long-term trend trading
  • Comprehensive position management features including trailing stop and break-even logic effectively protect profits
  • Highly configurable parameters allow traders to flexibly adjust strategy for different instruments and timeframes

Weaknesses

  • MACD as a lagging indicator tends to generate false signals in ranging markets leading to consecutive losses
  • Lacks multi-timeframe confirmation mechanism, reducing reliability of single-timeframe MACD signals
  • No integrated spread filter or news event filter, potentially entering during unfavorable high-volatility conditions

Possible improvements

  • Add multi-timeframe trend confirmation, e.g., confirm trend direction on H4 then seek entry signals on M15/M30
  • Incorporate spread and volatility filters to avoid entering when trading costs are too high or markets are highly volatile
  • Introduce adaptive stop-loss using ATR-based dynamic stop distances instead of fixed pip values

Risk assessment

Overall risk: Medium

  • MACD lagging nature may produce consecutive false signals in ranging markets
  • Fixed stop-loss may not adapt to varying market volatility conditions
  • Lack of multi-timeframe confirmation increases risk of counter-trend entries

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness3.0
Innovation2.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
MacdFastEMA12MACD fast EMA period
MacdSlowEMA26MACD slow EMA period
MacdSignalSMA9MACD signal SMA period
LotSize0.1Initial lot size
StopLoss500Stop loss in points
TakeProfit1000Take profit in points
TrailingStop300Trailing stop in points
BreakEven200Break-even trigger in points
MaxPositions3Maximum positions
MagicNumber77001EA magic number

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.