Exp_X2MACandle_MMRec
This EA trades based on signals from the X2MACandle custom indicator, which generates candlestick-style signals from a double moving average crossover system. It incorporates money management with position recovery (MMRec) logic, adjusting lot sizes after losses to attempt recovery of equity.
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 | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.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: Elevated
- Increases the position size after losses (martingale)
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 the X2MACandle indicator, which is essentially a visual representation of a dual moving average crossover system rendered in candlestick form to show trend direction. Entry conditions are straightforward: a buy position is opened when the X2MACandle indicator produces a bullish candle, and a sell position when it produces a bearish candle, making it a classic trend-following approach. Exit conditions rely on the appearance of a reverse signal or the triggering of stop-loss/take-profit levels. For position sizing, the EA integrates an MMRec (Money Management Recovery) module that increases lot sizes after losing trades to attempt equity recovery, which is a progressive position enlargement mechanism. Money management supports both fixed lot and percentage-of-balance calculation modes, with the MMRec module overlaying a loss recovery logic on top. Overall, the strategy performs well in trending markets but may suffer significant drawdowns in choppy conditions due to frequent false signals compounded by recovery-based position enlargement.
Strengths
- Clear and simple strategy logic based on dual MA crossover signals that are easy to understand and verify
- Built-in multiple money management options providing both fixed lot and percentage-based risk modes
- Trailing stop support allows locking in floating profits during trending markets
Weaknesses
- The MMRec recovery-based position enlargement significantly increases risk exposure during consecutive losses, potentially causing severe drawdowns
- Stop-loss and take-profit default to 0, meaning no risk control at all if the user does not manually configure them
- The dual MA crossover system generates numerous false signals in ranging markets leading to frequent losses
Possible improvements
- Add a ranging market filter (such as ADX or volatility indicator) to reduce or pause trading during choppy conditions and avoid false signals
- Set a maximum lot size cap and maximum consecutive recovery count limit for the MMRec module to prevent unlimited position enlargement after losses
Risk assessment
Overall risk: High risk
- The MMRec recovery-based position enlargement increases positions exponentially during consecutive losses, creating a risk of account blowout
- Stop-loss and take-profit default to 0, relying entirely on reverse signals for exit when not configured, which can result in massive single-trade losses
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MoneyManagement | false | Enable money management (lot size based on balance percentage) |
Lots | 0.1 | Fixed trading lot size |
RiskPercent | 2.0 | Risk percentage for dynamic lot sizing |
StopLoss | 0 | Stop loss in points (0=structure-based) |
TakeProfit | 0 | Take profit in points (0=structure-based) |
TrailingStop | 0 | Trailing stop in points, 0 to disable |
MMRecType | 0 | MM recovery type (0=disabled, 1=enabled) |
MMRecFactor | 1.5 | Lot size multiplier for recovery mode |
X2MA_iPeriod1 | 8 | X2MA indicator first MA period |
X2MA_iPeriod2 | 21 | X2MA indicator second MA period |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.