EA-14980 · Momentum

Exp_ColorXMACDCandle

This EA trades based on color changes of the ColorXMACDCandle custom indicator, which is an enhanced MACD with multiple smoothing algorithms. It opens buy positions when the histogram turns bullish and sell positions when it turns bearish, with configurable signal modes (histogram or signal line crossover). Position sizing follows one of five money management modes including fixed lot and percentage-based allocation.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsMACD, XMACD (Custom), T3, JJMA, JurX, VIDYA, AMA, ParMA
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

The strategy core trades on momentum direction changes of the ColorXMACDCandle indicator. Entry conditions have two modes: in Histogram mode, a buy opens when the indicator color shifts to bullish (Clr[1]==2 and Clr[0]<2), and a sell opens when it shifts to bearish (Clr[1]==0 and Clr[0]>0); in SignalLine mode, a buy opens when color shifts to up (Clr[1]==1 and Clr[0]!=1), and a sell when it shifts to down (Clr[1]==2 and Clr[0]!=2). Exit conditions include closing on reverse signals and fixed stop-loss/take-profit levels. Position sizing supports five modes: fixed lot, percentage of balance, percentage of equity, percentage of free margin, and percentage of balance after deducting losses. The indicator uses configurable smoothing methods (SMA/EMA/JJMA/JurX/ParMA/T3/VIDYA/AMA) for both the fast/slow MACD lines and the signal line, offering far more flexibility than standard MACD. Default stop-loss of 1000 points and take-profit of 2000 points indicate a trend-letting approach with a 2:1 reward-to-risk ratio.

Strengths

  • Supports multiple advanced smoothing algorithms (JJMA/JurX/T3 etc.), producing smoother and more responsive signals than standard MACD
  • Provides two signal modes (histogram and signal line), allowing traders to flexibly choose based on market conditions
  • Five money management modes offer high flexibility in position sizing control
  • Signals based on completed bars (SignalBar=1), avoiding signal flickering and repeated open/close on the current bar
  • Default 2:1 reward-to-risk ratio aligns with trend-following positive expectancy design
  • Independent buy/sell open and close switches allow single-direction trading or close-only mode

Weaknesses

  • Depends on the custom ColorXMACDCandle indicator; EA is completely non-functional without it
  • Stop-loss of 1000 points is large and may cause significant single-trade losses in volatile markets
  • Lacks position scaling and trailing stop mechanisms, unable to maximize profits in trending markets
  • No spread filter; frequent signals on high-spread instruments may cause consecutive losses
  • Code comments are garbled (encoding issue), severely hurting readability and maintainability
  • No check for existing orders; may repeatedly open positions on the same signal

Possible improvements

  • Add trailing stop functionality to lock in floating profits during trending moves
  • Add spread filter and minimum signal interval to prevent overtrading in high-spread or dense signal environments
  • Add position existence check to avoid duplicate entries in the same signal direction
  • Fix source file encoding issue to restore garbled comments to readable Russian or translate to English

Risk assessment

Overall risk: Medium

  • No check for existing same-direction positions, potentially causing duplicate entries that amplify risk
  • Default 1000-point stop-loss is large; single-trade loss percentage could be high on small accounts or high leverage
  • Depends on external custom indicator; missing or incompatible indicator file will cause strategy failure

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation4.0
Documentation1.0
Overall2.7

Parameters

ParameterDefaultDescription
MM0.1Money management parameter controlling lot size
MMModeLOTPosition sizing mode (free margin/balance/net free margin/net balance/fixed lot)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum slippage deviation
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow closing long on reverse signal
SellPosClosetrueAllow closing short on reverse signal
InpInd_TimeframePERIOD_H4Indicator calculation timeframe
SignalModeHistogramSignal mode (histogram/signal line)
XMA_MethodMODE_T3MACD main line smoothing method
Fast_XMA12Fast line period
Slow_XMA26Slow line period
XPhase100Main line smoothing phase parameter
Signal_MethodMODE_JJMASignal line smoothing method
Signal_XMA9Signal line period
Signal_Phase100Signal line smoothing phase parameter
AppliedPricePRICE_CLOSE_Applied price type (close/open/high/low)
SignalBar1Bar index for signal detection

Similar Momentum 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.