Exp_ColorZerolagMomentumOSMA
This EA trades based on the ColorZerolagMomentumOSMA custom indicator, which is a zero-lag momentum oscillator smoothed with OSMA-style processing. It opens buy positions when momentum rises and sell positions when momentum falls, with configurable position sizing and stop-loss/take-profit management.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
The strategy concept is based on a zero-lag momentum oscillator OSMA that combines five momentum indicators of different periods (8/21/34/55/89) weighted by factor coefficients (0.43/0.26/0.16/0.10/0.05), then doubly smoothed to eliminate lag. Entry conditions: a buy signal triggers when the OSMA value turns upward (Value[0]>Value[1] and Value[1]<Value[2]), and a sell signal triggers when it turns downward (Value[0]<Value[1] and Value[1]>Value[2]). Exit conditions rely on opposing signal triggers for position closure, supplemented by fixed stop-loss and take-profit levels in points. Position sizing is managed through the MarginMode enum offering five modes including free margin percentage, balance percentage, loss-adjusted free margin, loss-adjusted balance, and fixed lot size. Money management supports a range from conservative fixed lots to aggressive balance-proportional sizing. The strategy only recalculates signals on new bar formation, avoiding redundant per-tick computation and improving efficiency.
Strengths
- Zero-lag momentum design effectively reduces indicator lag through multi-period weighting for timelier signals
- New bar detection mechanism avoids per-tick redundant computation, reducing overhead and false signals
- Five position sizing modes provide flexibility for traders with different risk preferences
- Independent buy/sell toggle controls allow enabling or disabling long/short directions separately
- Indicator logic separated from strategy via iCustom call, enabling independent optimization of the indicator
Weaknesses
- No spread filter; momentum signals may be distorted in high-spread environments leading to unfavorable entries
- No position count check; may repeatedly open positions in the same direction causing overexposure
- Fixed stop-loss and take-profit in points without ATR-based adaptive adjustment perform inconsistently across varying volatility
- Depends on external indicator file ColorZerolagMomentumOSMA; if missing, EA fails to initialize with no fallback
- Exit relies solely on opposing signals and fixed SL/TP, lacking trailing stop or breakeven mechanisms to lock in floating profits
Possible improvements
- Add ATR-based adaptive stop-loss and take-profit to automatically adjust distance based on market volatility
- Add position count limits and same-direction duplicate entry checks to prevent over-concentration
- Add spread filter and trading session filter to avoid entries under unfavorable conditions
Risk assessment
Overall risk: Medium
- No same-direction duplicate position check may lead to excessive position accumulation
- Fixed stop-loss and take-profit may be inadequate across different volatility regimes; stops may be too tight in extreme markets
- Lack of trailing stop mechanism means profitable positions may give back all gains during pullbacks
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Lot size or money management ratio |
MMMode | LOT | Position sizing mode (margin/balance/fixed lot, etc.) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage |
BuyPosOpen | true | Allow opening buy positions |
SellPosOpen | true | Allow opening sell positions |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H4 | Indicator calculation timeframe |
smoothing1 | 15 | First-level smoothing period |
smoothing2 | 15 | Second-level smoothing period |
IPC | PRICE_CLOSE | Price type for indicator calculation |
Factor1 | 0.43 | Weight factor for momentum period 1 |
Momentum_period1 | 8 | Momentum indicator period 1 |
Factor2 | 0.26 | Weight factor for momentum period 2 |
Momentum_period2 | 21 | Momentum indicator period 2 |
Factor3 | 0.16 | Weight factor for momentum period 3 |
Momentum_period3 | 34 | Momentum indicator period 3 |
Factor4 | 0.10 | Weight factor for momentum period 4 |
Momentum_period4 | 55 | Momentum indicator period 4 |
Factor5 | 0.05 | Weight factor for momentum period 5 |
Momentum_period5 | 89 | Momentum indicator period 5 |
SignalBar | 1 | Bar index for signal value retrieval |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.