Exp_BrainTrend2_AbsolutelyNoLagLwma_X2MACandle_MMRec
This EA combines BrainTrend2 signal indicators with AbsolutelyNoLagLwma and X2MACandle indicators to generate trend-following trade entries. It uses a money management recovery (MMRec) system that adjusts lot sizes based on previous trade outcomes. The strategy opens positions when multiple indicators confirm the same trend direction.
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: 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 is a multi-indicator confirmation trend-following system whose core strategy relies on the synergy of three indicators: BrainTrend2 as the primary trend direction filter, AbsolutelyNoLagLwma as a zero-lag moving average filter, and X2MACandle as a MACD candlestick pattern confirmation. Entry conditions require all three indicators to emit a signal in the same direction simultaneously — for example, a long position is opened when BrainTrend2 signals bullish, AbsolutelyNoLagLwma points upward, and X2MACandle shows a bullish candle. Exit conditions are typically triggered by indicator signal reversals or reaching configured stop-loss/take-profit levels. Position sizing employs an MMRec (Money Management Recovery) mechanism that adjusts lot sizes after consecutive losses in an attempt to recover account equity, which is akin to a martingale-style progressive position sizing approach. Money management supports both fixed lot and dynamic balance-based calculation modes. While the EA provides configurable stop-loss and take-profit parameters, the MMRec recovery mechanism can introduce significant risk during extreme market conditions.
Strengths
- Triple indicator confirmation reduces false signals and improves entry quality
- Zero-lag moving average filter minimizes delay and enhances signal timeliness
- Flexible parameterized design allows optimization for different instruments and timeframes
- Supports both fixed lot and dynamic money management modes
- Multi-timeframe trend confirmation logic is relatively well-designed
Weaknesses
- The MMRec recovery mechanism is essentially a martingale variant, where risk grows exponentially during consecutive losses
- Default stop-loss of 0 means no stop-loss is set, which can lead to account blowup in extreme markets
- Multi-indicator confirmation may cause delayed entries, missing the early stages of trends
- Lacks spread filter and trading session filter, trading during high-cost periods hurts profitability
- Excessive indicator parameters create large optimization space prone to overfitting historical data
Possible improvements
- Remove or limit the MMRec martingale mechanism, replace with fixed-fractional or risk-parity position sizing
- Add mandatory stop-loss mechanism and maximum drawdown protection to prevent account loss in extreme markets
- Add spread filter and trading session control to avoid trading during high-cost periods
Risk assessment
Overall risk: Dangerous
- MMRec martingale recovery mechanism increments position size after consecutive losses, potentially leading to catastrophic losses
- Default stop-loss of 0 provides no hard risk floor protection
- Lacks maximum position limit and maximum drawdown constraints
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MoneyManagement | true | Enablemoney management mode |
FixLot | 0.1 | Fixed trading lot size |
MartingaleCoefficient | 1.0 | Martingale coefficient for lot multiplier after loss |
StopLoss | 0 | Stop loss in points, 0 means no stop loss |
TakeProfit | 0 | Take profit in points (unused; buy TP follows MA value) |
BrainTrend2_Period | 14 | BrainTrend2 indicator period |
AbsolutelyNoLagLwma_Period | 21 | AbsolutelyNoLagLwma MA period |
X2MACandle_MA1Period | 12 | X2MACandle fast MA period |
X2MACandle_MA2Period | 26 | X2MACandle slow MA period |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.