Exp_CronexCCI
This EA trades based on the CronexCCI custom indicator, which applies double smoothing to CCI values to generate trend and signal lines. It opens buy positions when the indicator line crosses above the signal line and sell positions on the opposite crossover, with configurable position opening and closing toggles.
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 core is a crossover system between the trend line and signal line of the CronexCCI indicator. CronexCCI first computes CCI values, then applies fast-period and slow-period smoothing algorithms to generate two lines—the main line and the signal line. Entry conditions are: a buy signal occurs when the main line crosses above the signal line, and a sell signal on the opposite crossover, using adjacent bar values for crossover detection. Exit conditions come in two forms: reverse crossover signals trigger position closing (BuyPosClose/SellPosClose), and fixed StopLoss and TakeProfit levels are applied via StopLoss_ and TakeProfit_ parameters. Position sizing is controlled by the MM parameter which represents the risk fraction, supporting five margin modes including free margin, balance, loss-adjusted free margin, loss-adjusted balance, and fixed lot size. Money management uses standardized functions from TradeAlgorithms.mqh for order placement with slippage control (Deviation_). The strategy defaults to H4 timeframe and uses SignalBar=1 to reference the previous completed bar, avoiding repainting issues, while the IsNewBar mechanism ensures signal computation happens only once per bar.
Strengths
- Dual-smoothed CCI crossover system reduces false signals and noise compared to raw CCI
- Complete open/close toggle controls provide high flexibility, allowing independent disabling of buy or sell directions
- IsNewBar mechanism limits signal computation to once per bar, avoiding tick-level redundant calculations and overtrading
- Supports multiple smoothing algorithms and position sizing modes, adaptable to different market environments and trading preferences
- Uses SignalBar=1 referencing completed bar data, avoiding indicator repainting issues
Weaknesses
- No spread filter mechanism, which can lead to unnecessary slippage losses during high-volatility sessions with widened spreads
- Default StopLoss of 1000 points and TakeProfit of 2000 points are quite large and may lack precision for most currency pairs
- No trailing stop functionality, so profitable positions may suffer significant drawdowns before being closed by a reverse signal
- No check for existing positions in the same direction, potentially leading to repeated entries during trending markets
- Depends on external custom indicator CronexCCI and library files, increasing deployment complexity and compatibility risks
Possible improvements
- Add a spread filter to pause new entries when spread exceeds a threshold, avoiding unfavorable fill prices
- Add trailing stop functionality to lock in partial profits after positions move in favor, reducing drawdown risk
- Add position existence checks to prevent duplicate entries in the same direction, avoiding over-concentration risk
- Consider adding trading session filters to avoid trading during low-liquidity or high-volatility news periods
Risk assessment
Overall risk: Medium
- No spread filter, may fill at unfavorable prices when spreads widen during news events or low-liquidity sessions
- No position check, may open consecutive positions in the same direction leading to over-concentration
- Fixed SL/TP values are large (1000/2000 points), creating excessive risk exposure when used on shorter timeframes
- Depends on external custom indicator and library files; missing or version-mismatched files can cause initialization failure
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Risk percentage or lot size |
MMMode | LOT | Margin calculation mode (fixed lots/balance/free margin etc.) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage in points |
BuyPosOpen | true | Allow opening long positions |
SellPosOpen | true | Allow opening short positions |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H4 | Indicator calculation timeframe |
CCIPeriod | 25 | CCI indicator period |
CCIPrice | PRICE_CLOSE | CCI applied price type |
XMA_Method | MODE_SMA | Smoothing method: SMA/EMA/SMMA/LWMA/JJMA/JurX/ParMA/T3/VIDYA/AMA |
FastPeriod | 14 | Fast smoothing period |
SlowPeriod | 25 | Slow smoothing period |
XPhase | 15 | Smoothing phase parameter (JJMA: -100~+100, VIDYA/AMA) |
SignalBar | 1 | Bar index for signal calculation |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.