Exp_ColorBullsGap
This EA trades based on the ColorBullsGap custom indicator, which uses a dual-smoothing approach to detect bullish momentum gap signals. It opens buy positions when the indicator transitions from a neutral state to a bullish signal, and opens sell positions when it transitions from an overbought state to a bearish signal. Positions are managed with configurable stop-loss, take-profit, and money management options.
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 the ColorBullsGap indicator, which applies two different smoothing algorithms to price data for dual-smoothing momentum detection. Entry conditions: a buy signal is generated when indicator buffer 1 transitions from 0 to a value greater than 0, and a sell signal is generated when it transitions from 2 to a value less than 2, essentially capturing momentum shifts from neutral to bullish or from overbought to bearish. Exit conditions: a buy signal simultaneously closes sell positions and a sell signal closes buy positions, creating a reverse-signal exit mechanism, supplemented by fixed stop-loss and take-profit levels. Position sizing supports five modes: fixed lot, balance-based, equity-based, free margin-based, and loss-adjusted margin-based proportional calculation. Money management is controlled via the MM parameter for risk proportion and MMMode for calculation method, defaulting to fixed lot mode. The strategy employs a new bar detection mechanism to prevent repeated trading within the same bar and uses BarsCalculated to ensure sufficient indicator data before executing trading logic.
Strengths
- Dual smoothing algorithm combination (SMA+JJMA) provides more stable signals with reduced noise
- Multiple money management modes supported, flexibly adapting to different risk preferences
- New bar detection mechanism prevents repeated position opening within the same bar
- Buy and sell directions can be independently toggled, facilitating unidirectional testing and optimization
- Reverse-signal closing mechanism ensures position direction aligns with current signals
Weaknesses
- Stop-loss of 1000 points and take-profit of 2000 points are excessively wide for most instruments, lacking dynamic stop mechanisms
- No spread filter, potentially generating unnecessary losing trades on high-spread instruments or lower timeframes
- Lacks position check logic, potentially opening duplicate positions in the same direction
- Indicator depends on iCustom calling the ColorBullsGap custom indicator, requiring the indicator file to be present at deployment
- No maximum position count or daily trade limit, risking overtrading during extreme market conditions
Possible improvements
- Add position check logic to prevent duplicate same-direction openings and impose a maximum concurrent position limit
- Introduce dynamic stop-loss mechanisms (e.g., trailing stop or ATR-based stop) instead of fixed point stops to adapt to varying market volatility
Risk assessment
Overall risk: Medium
- Fixed stop-loss/take-profit points are very large; varying instrument volatility may make stops too wide or too narrow
- Lacks same-direction position check, potentially creating duplicate openings and overexposure
- No spread filter or trading session filter, potentially opening positions under unfavorable conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio, risk per trade |
MMMode | LOT | MM mode: free margin/balance/loss margin/fixed lot |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum slippage deviation |
BuyPosOpen | true | Allow long position opening |
SellPosOpen | true | Allow short position opening |
BuyPosClose | true | Allow long position closing |
SellPosClose | true | Allow short position closing |
InpInd_Timeframe | PERIOD_H8 | Indicator calculation timeframe |
MA_Method1 | MODE_SMA | First smoothing method |
Length1 | 12 | First smoothing period |
Phase1 | 15 | First smoothing phase parameter |
MA_Method2 | MODE_JJMA | Second smoothing method |
Length2 | 5 | Second smoothing period |
Phase2 | 15 | Second smoothing phase parameter |
SignalBar | 1 | Bar index for signal detection |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.