EA-15792 · Trend Following

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

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsColorX2MA_Digit, SMA, JJMA, JurX, ParMA, T3, VIDYA, AMA, LWMA, EMA, SMMA
Author—

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.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

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation3.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management ratio (lot or percentage)
MMModeLOTMargin mode: free margin/balance/net margin/net balance/fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum slippage tolerance
BuyPosOpentrueAllow buy to open
SellPosOpentrueAllow sell to open
BuyPosClosetrueAllow buy-side close (close sell on opposite signal)
SellPosClosetrueAllow sell-side close (close buy on opposite signal)
InpInd_TimeframePERIOD_H4Timeframe for indicator calculation
MA_Method1MODE_SMA_First smoothing method
Length112first levelsmoothing period
Phase115First smoothing phase parameter
MA_Method2MODE_JJMASecond smoothing method
Length25second levelsmoothing period
Phase215Second smoothing phase parameter
IPCPRICE_CLOSE_Applied price type
Shift0Indicator vertical shift
PriceShift0priceoffset in points
Digit2Indicator value decimal rounding digits
ShowPricetrueShow price labels
Price_colorclrGrayPrice label color
SignalBar1Bar 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.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.