EA-13195 · Momentum

Exp_ColorZerolagRVI

This EA trades based on the crossover signals of the ColorZerolagRVI indicator, a zero-lag composite RVI (Relative Vigor Index) oscillator built from five weighted RVI components. It opens buy positions when the main line crosses above the signal line and sell positions on the opposite crossover, with configurable stop-loss and take-profit levels. Trade execution is restricted to new bar formation to avoid redundant signals within the same candle.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsColorZerolagRVI, RVI
Author—

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Run error
GBPUSD0.00%0.00%0.00%0—————Run error
USDJPY0.00%0.00%0.00%0—————Run error
XAUUSD0.00%0.00%0.00%0—————Run error

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 uses the ColorZerolagRVI indicator as its core signal source, which synthesizes five RVI components with different periods (8, 21, 34, 55, 89) using specific weights (0.05, 0.10, 0.16, 0.26, 0.43) to eliminate the lag inherent in traditional RVI. Entry conditions require that the current bar's main line (Osc1) and signal line (Osc2) are on the same side while the previous bar showed a crossover — specifically, a buy signal occurs when Osc1[1]>Osc2[1] and Osc1[0]<Osc2[0], indicating the main line just crossed above the signal line. Exit conditions include fixed stop-loss and take-profit (set in points) and closing positions on reverse crossover signals. Position sizing is controlled by the MM parameter, supporting both fixed lot size and margin-based lot calculation modes via the MMMode input. Money management defaults to a 1000-point stop-loss and 2000-point take-profit, yielding a 1:2 risk-reward ratio. Signal calculation is restricted to new bar formation only, preventing redundant trades within the same candle.

Strengths

  • Uses a zero-lag composite RVI indicator that reduces the delay problem of traditional RVI, providing more timely signals
  • New bar check mechanism prevents redundant trade entries within the same candle, reducing overtrading risk
  • Provides independent toggle switches for buy/sell open and close operations, offering high flexibility for directional testing
  • Default 1:2 risk-reward ratio is well-designed, favorable for long-term positive expectancy
  • Multi-period weighted RVI synthesis (8-89 periods) captures momentum information across short, medium, and long timeframes

Weaknesses

  • No check for existing positions in the same direction, potentially leading to repeated entries and increased risk exposure
  • Stop-loss and take-profit use fixed point values instead of dynamic indicators like ATR, performing inconsistently across varying volatility environments
  • No spread filter mechanism; in high-spread environments, profits may be consumed by spread costs when signals trigger
  • Depends on the custom ColorZerolagRVI indicator file; if missing, the EA fails to initialize
  • The Recount flag is set to true on CopyBuffer failure without a retry limit, potentially causing frequent retries during data gaps

Possible improvements

  • Add same-direction position check to prevent repeated entries, or add a maximum position count parameter
  • Change stop-loss and take-profit to ATR-based dynamic calculation to adapt to different market volatility environments
  • Add spread filter and trading session filter to avoid trading during high-spread and low-liquidity periods

Risk assessment

Overall risk: Medium

  • Lack of same-direction position check may lead to continuous position stacking during trending markets, causing excessive risk exposure
  • Fixed-point stop-loss and take-profit do not account for market volatility changes; stop-loss may be too wide in low volatility or too tight in high volatility
  • No spread filter or trading session control may result in trade execution under unfavorable conditions

Evaluation scores

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

Parameters

ParameterDefaultDescription
MM0.1Margin ratio or lot size
MMModeLOTLot calculation mode (fixed lot or margin ratio)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage
BuyPosOpentrueAllow opening buy positions
SellPosOpentrueAllow opening sell positions
BuyPosClosetrueAllow closing buy positions
SellPosClosetrueAllow closing sell positions
InpInd_TimeframePERIOD_H4Indicator calculation timeframe
SignalBar1Bar index for signal detection
smoothing15Indicator smoothing period
Factor10.05Weight factor for RVI component 1
RVI_period18Period of RVI component 1
Factor20.10Weight factor for RVI component 2
RVI_period221Period of RVI component 2
Factor30.16Weight factor for RVI component 3
RVI_period334Period of RVI component 3
Factor40.26Weight factor for RVI component 4
RVI_period455Period of RVI component 4
Factor50.43Weight factor for RVI component 5
RVI_period589Period of RVI component 5

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.