EA-13221 · Momentum

Exp_ColorZerolagTriXOSMA

This EA trades based on the ColorZerolagTriXOSMA custom indicator, which is a zero-lag composite of five weighted TriX (Triple Exponential Moving Average) oscillators smoothed with OSMA-style histogram logic. It opens buy positions when the histogram turns upward (value rising from below) and sell positions when the histogram turns downward, with configurable permissions for entry and exit on each side.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsColorZerolagTriXOSMA, TriX, OSMA
Author—

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

The core strategy of this EA is based on the zero-lag TriX-OSMA composite indicator to capture momentum direction changes. Entry conditions: a buy signal triggers when the histogram's bar[2] value is less than bar[3] (downtrend) and bar[1] is greater than bar[2] (starting to rise); a sell signal triggers when bar[2] is greater than bar[3] (uptrend) and bar[1] is less than bar[2] (starting to decline). Exit conditions have two components: reverse signals close opposite positions (buy signal closes shorts, sell signal closes longs), and fixed stop-loss/take-profit in points. Position sizing supports four modes: percentage of free margin, percentage of balance, percentage of loss-based free margin, percentage of loss-based balance, and fixed lot size. Money management is controlled by the MM parameter, defaulting to 0.1 (10% of funds per trade). The strategy uses a weighted superposition of five TriX indicators with different periods and weight factors (0.05/0.10/0.16/0.26/0.43) to eliminate lag, which is its core innovation.

Strengths

  • Zero-lag TriX composite indicator design effectively reduces traditional moving average lag, improving signal timeliness
  • Five weighted factor superposition (weights sum to 1.00) balances short/medium/long-term momentum, reducing single-period noise
  • Independent control of buy/sell entry and exit permissions offers high flexibility, enabling long-only or short-only strategies
  • New bar detection mechanism (IsNewBar) prevents repeated position opening within the same bar
  • Configurable stop-loss and take-profit parameters provide basic risk control

Weaknesses

  • Relies solely on histogram turning points from a single indicator without multi-dimensional confirmation, prone to frequent false signals in ranging markets
  • Default stop-loss of 1000 points and take-profit of 2000 points are excessively large, lacking adaptability to different instruments and volatility environments
  • No spread filter or volatility filter, potentially causing frequent ineffective trades in high-spread or low-volatility conditions
  • No position scaling or signal strength grading mechanism — all signals are treated equally
  • Depends on external custom indicator file (ColorZerolagTriXOSMA), and the EA fails with insufficient error detail if the indicator is missing

Possible improvements

  • Add spread filter and ATR volatility filter to avoid invalid entries in high-spread and low-volatility environments
  • Introduce multi-timeframe confirmation, requiring higher timeframe trend direction alignment before entry
  • Replace fixed stop-loss/take-profit with ATR-based dynamic stops for volatility-adaptive risk control
  • Add signal strength assessment (e.g., histogram change magnitude) and adjust position size based on strength rather than fixed ratio

Risk assessment

Overall risk: Medium

  • No spread filter — may frequently enter at unfavorable prices on instruments with poor liquidity or widened spreads
  • Fixed stop-loss/take-profit does not adapt to different volatility environments, potentially too wide for low-volatility or too narrow for high-volatility instruments
  • No maximum position count limit or daily loss limit — consecutive position openings during extreme market conditions could lead to significant losses
  • When SignalBar=0, new bar detection is skipped, potentially triggering signals repeatedly on the same incomplete bar

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation4.0
Documentation2.0
Overall2.8

Parameters

ParameterDefaultDescription
MM0.1Trading capital as deposit ratio
MMModeLOTLot sizing method (free margin/balance/post-loss margin/post-loss balance/fixed lots)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximumallowpriceslippagepoints
BuyPosOpentrueAllow long entry
SellPosOpentrueAllow short entry
BuyPosClosetrueAllow close long positions
SellPosClosetrueAllow close short positions
InpInd_TimeframePERIOD_H4Indicator timeframe
smoothing115First smoothing period
smoothing27Second smoothing period
IPCPRICE_CLOSEPrice constant (close price etc.)
Factor10.05First TriX weight factor
TriX_period18First TriX period
Factor20.10Second TriX weight factor
TriX_period221Second TriX period
Factor30.16Third TriX weight factor
TriX_period334Third TriX period
Factor40.26Fourth TriX weight factor
TriX_period455Fourth TriX period
Factor50.43Fifth TriX weight factor
TriX_period589Fifth TriX period
SignalBar1Entry signal bar index

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.