Exp_ColorX2MA_Digit
This EA trades based on the ColorX2MA_Digit custom indicator, which uses a dual moving average crossover system with digit rounding. It opens buy positions when the indicator transitions from neutral (0) to bullish (>0), and sell positions when it transitions from neutral (2) to bearish (<2), with configurable money management and position closing logic.
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 employs a dual smoothed moving average crossover strategy using two different smoothing methods (MA_Method1 and MA_Method2) to calculate fast and slow moving averages respectively. Entry conditions: a buy signal is generated when the indicator buffer value transitions from 0 to greater than 0, and a sell signal when it transitions from 2 to less than 2, which is fundamentally a trend-following approach capturing directional changes at MA crossovers. Exit conditions: a buy signal simultaneously triggers closing of sell positions, and a sell signal triggers closing of buy positions, implementing a reverse-signal exit mechanism alongside fixed stop loss (1000 points) and take profit (2000 points). Position sizing supports multiple modes including percentage of free margin, percentage of balance, percentage after-loss margin, percentage after-loss balance, and fixed lot size (default LOT mode at 0.1 lots). Money management is implemented through the MarginMode enumeration offering flexible risk control, but lacks advanced features such as position scaling, partial closes, or trailing stops.
Strengths
- Uses dual smoothing algorithms supporting advanced methods (JJMA, JurX, T3, etc.), producing higher quality signals than simple MA crossovers
- Supports multiple money management modes with high flexibility to accommodate different risk preferences
- Includes stop loss, take profit, and slippage control for basic risk management
- Independent toggle switches for buy/sell open and close directions provide flexible strategy configuration
- Uses completed bar (SignalBar=1) for signal detection, avoiding repainting and false signals
Weaknesses
- Lacks trailing stop functionality, potentially taking profit too early or giving back excessive profits in trending markets
- Fixed stop loss (1000 points) and take profit (2000 points) do not adapt to market volatility (ATR), reducing adaptability across different instruments
- No spread filter or trading session filter, potentially opening positions during high slippage or low liquidity periods
- Reverse-signal exit mechanism may cause significant profit drawdown before closing during prolonged positions
- Missing position check and duplicate entry protection, potentially causing repeated position opening in extreme cases
Possible improvements
- Add ATR-based dynamic stop loss and take profit to adapt risk management to varying market volatility
- Implement trailing stop and breakeven functionality to lock in profits during trending markets
- Add spread filter and trading session filter to avoid unfavorable trading conditions
Risk assessment
Overall risk: Medium
- Missing position check, potentially opening duplicate positions in the same direction
- Fixed stop loss/take profit ignores market volatility — SL too wide in low-volatility and TP too tight in high-volatility markets
- No trailing stop creates significant profit drawdown risk in trending trades
- No spread filter may cause unreasonable entries when spreads widen
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio (lot or percentage) |
MMMode | LOT | Margin mode: free margin/balance/net margin/net balance/fixed lot |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum slippage tolerance |
BuyPosOpen | true | Allow buy to open |
SellPosOpen | true | Allow sell to open |
BuyPosClose | true | Allow buy-side close (close sell on opposite signal) |
SellPosClose | true | Allow sell-side close (close buy on opposite signal) |
InpInd_Timeframe | PERIOD_H4 | Timeframe for indicator calculation |
MA_Method1 | MODE_SMA_ | First smoothing method |
Length1 | 12 | first levelsmoothing period |
Phase1 | 15 | First smoothing phase parameter |
MA_Method2 | MODE_JJMA | Second smoothing method |
Length2 | 5 | second levelsmoothing period |
Phase2 | 15 | Second smoothing phase parameter |
IPC | PRICE_CLOSE_ | Applied price type |
Shift | 0 | Indicator vertical shift |
PriceShift | 0 | priceoffset in points |
Digit | 2 | Indicator value decimal rounding digits |
ShowPrice | true | Show price labels |
Price_color | clrGray | Price label color |
SignalBar | 1 | Bar index for signal detection (0=current, 1=completed) |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.