Exp_ColorX2MA-Parabolic
This EA trades based on signals from the ColorX2MA-Parabolic custom indicator, which combines a double-smoothed moving average (X2MA) with Parabolic SAR logic. It opens buy positions when the indicator's up buffer has a valid value and sell positions when the down buffer has a valid value, with configurable permissions for entries and exits. Positions are closed either on opposite signals or via fixed stop-loss and take-profit levels.
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 | -2.44% | -2.12% | 5.87% | 145 | 43.10% | — | — | — | — | Custom indicator approximated |
| GBPUSD | +3.28% | +2.84% | 4.19% | 145 | 47.90% | — | — | — | — | Custom indicator approximated |
| USDJPY | +5.50% | +4.76% | 3.29% | 274 | 52.40% | — | — | — | — | Custom indicator approximated |
| XAUUSD | -100.00% | -100.00% | 100.00% | 57 | 56.10% | — | — | — | — | Custom indicator approximated |
On every market this backtest is identical to EA-11208, EA-12594. The automatic conversion almost certainly lost what makes this EA different (a custom indicator, a filter or the money management), so these results are not ranked or counted.
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
The EA's strategy concept leverages a combination of double-smoothed moving average (X2MA) and Parabolic SAR to determine trend direction and generate trading signals. Entry conditions are: a buy signal is generated when the ColorX2MA-Parabolic indicator's buffer 3 (UpValue) has a non-zero, non-EMPTY_VALUE value on the specified signal bar, and a sell signal is generated when buffer 2 (DnValue) has a non-zero, non-EMPTY_VALUE value. Exit conditions include: opposite signals trigger position closure (buy signal closes short, sell signal closes long), along with fixed stop-loss and take-profit levels. Position sizing is controlled via the MM parameter, where negative values represent fixed lot sizes and positive values represent deposit share-based lot calculation, with the actual logic encapsulated in TradeAlgorithms.mqh. Money management allows independent control of buy/sell open and close permissions, providing flexible trading direction control. Additionally, the EA implements a historical lookback mechanism to find the most recent directional signal for determining close conditions, and only updates signals on new bars or when recalculation is needed to avoid over-trading.
Strengths
- Combining double-smoothed MA with Parabolic SAR produces more stable signals and reduces false signals from a single indicator
- Supports 9 smoothing algorithms (SMA/EMA/SMMA/LWMA/JJMA/JurX/ParMA/T3/VIDYA/AMA) offering high flexibility
- Independent control of buy/sell open and close permissions adapts to different market conditions
- New bar detection mechanism prevents repeated trading within the same bar, reducing over-trading risk
- Supports deposit-share-based automatic lot sizing for convenient money management
Weaknesses
- Default stop-loss of 1000 points and take-profit of 2000 points are excessively large, potentially creating unnecessarily large risk exposure on low-volatility instruments
- Parabolic low step (0.02) differs 10x from high step (0.2), asymmetric parameters may cause inconsistent signal frequency between long and short sides
- Historical lookback for close signals iterates through all bars, potentially causing performance issues with long price history
- No spread filter or volatility filter, likely to generate false signals in high-spread or low-volatility environments
- No explicit maximum position limit or session time filter, risking over-exposure from consecutive signals
Possible improvements
- Add spread filter and volatility (ATR) filter mechanism to avoid trading signals in unfavorable market conditions
- Optimize the historical lookback logic for close signal searching by setting a maximum lookback bar limit for better performance
- Add maximum position count limit and trading session filter to prevent over-exposure
Risk assessment
Overall risk: Medium
- Default stop-loss is excessively large (1000 points), creating significant risk exposure on low-volatility instruments
- Asymmetric Parabolic parameters for long/short may cause one-sided signal bias
- Lack of spread filter and maximum position limit poses consecutive loss risk
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | -0.1 | Deposit fraction or lot size; negative = fixed lots |
StopLoss_ | 1000 | Stop Loss in points |
TakeProfit_ | 2000 | Take Profit in points |
Deviation_ | 10 | Maximum allowed price deviation in points |
BuyPosOpen | true | Allow Buy position opening |
SellPosOpen | true | Allow Sell position opening |
BuyPosClose | true | Allow closing Buy positions |
SellPosClose | true | Allow closing Sell positions |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
SignalBar | 1 | Bar index for entry signal |
MA_Method1 | MODE_SMA | MA method for first smoothing |
Length1 | 12 | First smoothing depth |
Phase1 | 15 | First smoothing parameter (JJMA range -100 to 100) |
MA_Method2 | MODE_JJMA | MA method for second smoothing |
Length2 | 5 | Second smoothing depth |
Phase2 | 15 | Second smoothing parameter (JJMA range -100 to 100) |
IPC | PRICE_CLOSE | Price constant used for indicator calculation |
StepH_ | 0.2 | Parabolic High step |
MaximumH | 0.5 | Parabolic High maximum |
StepL_ | 0.02 | Parabolic Low step |
MaximumL | 0.05 | Parabolic Low maximum |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.