Exp_FineTuningMACandle_Duplex
This EA implements a dual Moving Average candle-based trend following strategy with fine-tuning capabilities. It generates trade signals when MA candles indicate directional shifts, opening positions in the direction of the emerging trend. The duplex architecture allows simultaneous long and short signal processing for more responsive market participation.
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
- Has no stop loss or trailing stop
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
This EA uses candlestick patterns constructed from Moving Average values to determine trend direction, with the core concept being the creation of virtual candles from MA open/high/low/close values to filter market noise. Entry conditions are based on MA candle color changes or pattern breakouts - going long when MA candles shift from bearish to bullish, and going short when they shift from bullish to bearish. Exit conditions rely on the appearance of reversal signals or fixed stop-loss/take-profit settings, with some versions potentially including trailing stop functionality. Position sizing supports both fixed lot size and equity-based dynamic calculation modes. Money management provides risk percentage parameters, though the specific implementation details regarding maximum position limits or drawdown controls would need source code verification. The Duplex design means the EA can simultaneously track two different parameter sets of MA signals, increasing strategy flexibility.
Strengths
- Duplex architecture allows simultaneous monitoring of two different MA parameter sets, improving strategy adaptability
- MA candle-based signal generation effectively filters short-term price noise
- Fine-tuning support enables traders to optimize parameter combinations for different market conditions
Weaknesses
- Trend following strategy prone to frequent false signals and consecutive losses in ranging markets
- Default stop-loss and take-profit of 0 poses significant capital risk if users neglect to set them
- Lack of ATR-based volatility adaptation means fixed parameters perform inconsistently across varying volatility environments
Possible improvements
- Add ATR-based dynamic stop-loss and take-profit calculation to adapt risk management to market volatility changes
- Add trend/range market identification filter (e.g., ADX) to reduce trade frequency in ranging markets
Risk assessment
Overall risk: Caution
- Default stop-loss and take-profit parameters are 0, leaving positions unprotected if users don't manually configure them
- Trend strategy may incur consecutive losses in ranging markets due to lack of market state filtering mechanism
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Fixed trading lot size |
StopLoss | 0 | Stop loss in points, 0 means no stop loss |
TakeProfit | 0 | Take profit in points, 0 means no take profit |
MAPeriod_Fast | 10 | Fast MA period |
MAPeriod_Slow | 50 | Slow MA period |
MA_Method | MODE_SMA | MA calculation method |
MA_AppliedPrice | PRICE_CLOSE | MA applied price type |
MagicNumber | 22898 | EA magic number for distinguishing orders |
Timeframe | PERIOD_CURRENT | Trading timeframe |
MaxSpread | 30 | Maximum allowed spread |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.