Exp_ColorMaRsi-Trigger_MMRec_Duplex
This EA trades both long and short directions using a colored Moving Average trend filter combined with RSI momentum triggers for entry signals. It incorporates a Money Management Recommendation (MMRec) system for dynamic position sizing and risk control. The Duplex designation means it can simultaneously manage buy and sell positions based on opposing signal conditions.
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 | — | — | — | — | — | Conversion problem |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Conversion problem |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Conversion problem |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Conversion problem |
Why this EA never traded: the entry waits for a crossing that cannot happen (for example a price-based indicator crossing zero).
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 strategy core is a composite trend-following system combining a colored Moving Average with RSI indicator. Entry conditions: go long when the colored MA shows an uptrend and RSI crosses above the trigger line from oversold territory; go short when the colored MA shows a downtrend and RSI crosses below the trigger line from overbought territory. Exit conditions include: closing positions on reverse signals, stop-loss/take-profit triggers, and trend-end exits when the MA color reverses. Position sizing employs the MMRec money management recommendation system, dynamically calculating lot sizes based on account balance and risk parameters, avoiding uneven risk exposure from fixed lot sizes. In terms of money management, the Duplex mode allows holding both long and short positions simultaneously, which may provide hedging protection during trend transitions but also increases margin usage and complexity. The overall strategy is a typical multi-indicator-confirmed trend-following approach that reduces false signals through dual filtering.
Strengths
- Dual indicator confirmation (MA+RSI) effectively reduces false signals and incorrect entries
- MMRec money management recommendation system dynamically adjusts position size based on account, providing more scientific risk control
- Duplex mode provides hedging protection during trend transitions, reducing directional risk exposure
- Colored MA visually displays trend direction, facilitating visual verification and debugging
- Supports simultaneous long-short operations, adapting to market environments with oscillating trend transitions
Weaknesses
- Duplex mode holding both long and short positions simultaneously consumes more margin, reducing capital efficiency
- Trend-following strategies tend to generate frequent false breakout signals in ranging markets leading to consecutive losses
- Depends on stop-loss and take-profit parameter settings; default value of 0 means disabled, posing unlimited loss risk for beginners
- The colored MA's color transition logic may have lag in fast-moving markets
- RSI can remain in overbought/oversold territory for extended periods during strong trends, causing missed trend continuation opportunities
Possible improvements
- Add time filter and volatility filter (e.g., ATR) to avoid trading during low liquidity sessions and extreme volatility periods
- Set reasonable non-zero default values for stop-loss and take-profit, and add mandatory stop-loss checks to protect capital safety
- Add new bar check mechanism to prevent repeated opening within the same bar, and include spread filter to avoid high slippage entries
Risk assessment
Overall risk: Medium
- Stop-loss and take-profit default to 0, posing unlimited loss risk if not manually configured
- Duplex mode holding both long and short positions increases margin usage, risking forced liquidation during extreme market conditions
- Trend-following strategy tends to produce consecutive small losses in ranging markets, lacking range detection and auto-disable mechanism
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Fixed trading lot size |
MMRec_Enable | true | Enable money management recommendation system |
RiskPercent | 2.0 | Risk percentage per trade |
MA_Period | 14 | Colored moving average period |
MA_Method | MODE_SMA | MA calculation method |
RSI_Period | 14 | RSI indicator period |
RSI_LevelHigh | 70 | RSI overbought threshold |
RSI_LevelLow | 30 | RSI oversold threshold |
StopLoss | 0 | stop losspoints (0=disable) |
TakeProfit | 0 | take profitpoints (0=disable) |
Duplex_Mode | true | Enable duplex mode (simultaneous long & short) |
TrailingStop | 0 | Trailing stop distance in points |
MagicNumber | 23292 | Unique order identifier number |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.