Momentum-M15
This EA trades on the M15 timeframe using momentum-based indicators to identify trend strength and direction. It enters positions when momentum signals align with trend direction and exits based on momentum reversal or fixed take-profit/stop-loss levels. The strategy is fully automated with no discretionary input required.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | +1.68% | +1.46% | 3.23% | 126 | 54.40% | 0.38 | 0.52 | 5 | +$1.61 | Reliable |
| GBPUSD | -0.56% | -0.48% | 4.56% | 126 | 50.80% | -0.07 | -0.12 | 7 | −$0.44 | Reliable |
| USDJPY | -2.91% | -2.53% | 7.02% | 129 | 48.80% | -0.49 | -0.41 | 8 | −$2.26 | Reliable |
| XAUUSD | +117.80% | +90.25% | 30.28% | 133 | 54.50% | 1.43 | 3.89 | 5 | +$91.12 | Reliable |
Profitable on 2 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 71% of 68 · GBPUSD: better than 58% of 66 · USDJPY: better than 35% of 68 · XAUUSD: better than 96% of 75
Month by month
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 54% | +2.26% 2026-03 | -1.28% 2026-06 |
| GBPUSD | 54% | +2.17% 2026-02 | -2.88% 2026-03 |
| USDJPY | 54% | +2.74% 2026-04 | -2.82% 2026-08 |
| XAUUSD | 62% | +92.71% 2026-02 | -6.91% 2026-10 |
From the backtest equity curve, sampled about every two days; only reliable results.
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 trades based on a momentum strategy, with the core concept of entering positions in the direction of market momentum. Entry conditions typically rely on momentum indicators (such as RSI, MACD, or CCI) crossing key thresholds or producing directional signals, potentially combined with moving averages to confirm trend direction. Exit conditions include momentum reversal signals, fixed take-profit and stop-loss levels, and optionally a trailing stop mechanism. Position sizing employs either fixed lots or an account-balance-proportional approach. Money management is handled through stop-loss parameters controlling maximum loss per trade, though the actual risk exposure depends on user-configured settings. The overall strategy logic is clear and suitable for trending markets, but may generate frequent false signals and consecutive losses in range-bound or choppy conditions.
Strengths
- Simple and clear strategy logic, easy to understand and optimize
- Performs well in strong trending markets, capable of capturing medium-to-long-term trend moves
- Provides stop-loss and trailing stop functionality with basic risk control capability
Weaknesses
- Prone to frequent false signals and consecutive losses in range-bound or choppy markets
- Lacks multi-timeframe confirmation, relying solely on M15 which may misjudge trend direction
- Position sizing is simplistic, lacking dynamic lot adjustment or volatility-adaptive mechanisms
Possible improvements
- Add multi-timeframe confirmation such as H4 trend direction combined with M15 entry signals to improve signal reliability
- Introduce ATR-based dynamic stop-loss and take-profit that adapt to market volatility, avoiding the limitation of fixed pip values across different volatility regimes
Risk assessment
Overall risk: Medium
- Single timeframe trend judgment without multi-period verification carries misjudgment risk
- Fixed pip stop-loss and take-profit may be inappropriate in high or low volatility markets, leading to premature stops or insufficient profit capture
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Lot size per trade |
StopLoss | 50 | Stop loss in points |
TakeProfit | 100 | Take profit in points |
MomentumPeriod | 14 | Momentum indicator period |
MAPeriod | 50 | Moving average period |
MomentumThreshold | 100 | momentumindicator threshold |
TrailingStop | 30 | Trailing stop in points |
MagicNumber | 12345 | EA magic number for distinguishing orders |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.