Exp_iCCI_NR
This EA trades based on the iCCI_NR custom indicator, a doubly-smoothed CCI (Commodity Channel Index) variant. It generates buy signals when the indicator crosses upward from zero and sell signals when it crosses downward from four, with configurable position opening and closing logic. The EA uses dual smoothing methods for the CCI calculation to reduce noise and improve signal quality.
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 doubly-smoothed CCI indicator that applies two separate smoothing methods to the raw CCI value, filtering noise to produce more reliable trading signals. Entry conditions: a buy signal is generated when the CCI_NR indicator crosses upward from the zero level, and a sell signal is generated when it crosses downward from the four level, requiring comparison of two consecutive bar values to confirm the crossover. Exit conditions: long positions are closed when the indicator value exceeds 2, and short positions are closed when it falls below 2, with configurable fixed stop-loss and take-profit in points. Position sizing uses the TradeAlgorithms.mqh library offering multiple money management modes including free margin-based, balance-based, loss-adjusted margin, or fixed lot sizing. Money management is controlled by the MM parameter (default 0.1 risk ratio) combined with MMMode for specific lot calculation. Signals are only detected on new bar formation to prevent duplicate trades, with the SignalBar parameter specifying which bar index to use for signal detection.
Strengths
- Doubly-smoothed CCI effectively reduces false signals and improves signal reliability
- Multiple money management modes provide flexibility for different trading styles and account sizes
- Stop-loss and take-profit are configured, providing basic risk control
- New bar detection mechanism prevents duplicate entries on the same signal
- Independent control over buy open, sell open, buy close, and sell close offers granular trade control
Weaknesses
- Depends on the custom iCCI_NR indicator without visibility into its internal logic for audit
- No spread filter, which may result in unfavorable fills in high-spread environments
- Default stop-loss of 1000 points and take-profit of 2000 points are large and may not suit all instruments and timeframes
- No check on existing position count, potentially allowing duplicate position openings
- No time filter mechanism, may trade during low-liquidity sessions
Possible improvements
- Add a spread filter to prohibit opening positions when the spread exceeds a threshold
- Add position count checking to prevent duplicate opening in the same direction
- Add trading session filtering to avoid low-liquidity periods
Risk assessment
Overall risk: Medium
- No check on existing position count, potentially over-exposing in the same direction with duplicate openings
- No spread filter means stop-losses may be triggered with widened slippage in high-spread conditions
- Dependency on external custom indicator means the EA cannot operate if the indicator fails to load
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 |
Sens | 1 | CCI sensitivity parameter |
CCIperiod | 10 | CCI indicator period |
MA_Method1 | MODE_SMA | First smoothing method |
Length1 | 3 | First smoothing period |
Phase1 | 15 | First smoothing phase parameter |
MA_Method2 | MODE_JJMA | Second smoothing method |
Length2 | 10 | Second smoothing period |
Phase2 | 100 | Second smoothing phase parameter |
IPC | PRICE_TYPICAL | Price type applied to CCI calculation |
HighLevel | +100 | CCI upper level |
MiddleLevel | 0 | CCI middle level |
LowLevel | -100 | CCI lower level |
SignalBar | 1 | Bar index for signal detection |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.