EA-1204 · Trend Following

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

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsX2MA (Double Smoothed MA), Parabolic SAR, JJMA, SMA, EMA
AuthorCopyright © 2011, Nikolay Kositsin

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD-2.44%-2.12%5.87%14543.10%————Custom indicator approximated
GBPUSD+3.28%+2.84%4.19%14547.90%————Custom indicator approximated
USDJPY+5.50%+4.76%3.29%27452.40%————Custom indicator approximated
XAUUSD-100.00%-100.00%100.00%5756.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

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation3.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
MM-0.1Deposit fraction or lot size; negative = fixed lots
StopLoss_1000Stop Loss in points
TakeProfit_2000Take Profit in points
Deviation_10Maximum allowed price deviation in points
BuyPosOpentrueAllow Buy position opening
SellPosOpentrueAllow Sell position opening
BuyPosClosetrueAllow closing Buy positions
SellPosClosetrueAllow closing Sell positions
InpInd_TimeframePERIOD_H4Indicator timeframe
SignalBar1Bar index for entry signal
MA_Method1MODE_SMAMA method for first smoothing
Length112First smoothing depth
Phase115First smoothing parameter (JJMA range -100 to 100)
MA_Method2MODE_JJMAMA method for second smoothing
Length25Second smoothing depth
Phase215Second smoothing parameter (JJMA range -100 to 100)
IPCPRICE_CLOSEPrice constant used for indicator calculation
StepH_0.2Parabolic High step
MaximumH0.5Parabolic High maximum
StepL_0.02Parabolic Low step
MaximumL0.05Parabolic Low maximum

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.