Skip to content
All library documents

CCI Zero-Line Signals with EMA Trend and ATR Risk Controls

Article MQL5 articles

Summary

This article describes an Expert Advisor built around two Commodity Channel Index readings, a 34-period exponential moving average, and optional Average True Range-based stops and targets. A long setup requires the faster CCI to be above zero, the slower CCI to cross upward through zero, and the candle to close above the EMA. Short conditions reverse those tests. The EA checks signals on new bars and can restrict USDJPY trading to configured Tokyo-session hours.

The article explains the indicators and implementation choices, including optional confirmation around the CCI’s outer levels. It presents the strategy as a way to combine momentum, trend direction, volatility-based risk levels, and price action. The supplied text gives no usable performance statistics or test results, despite describing a testing section; it also warns readers to test on historical data or demo accounts before live use. Zero-line crosses may react quickly but can produce whipsaws, and the session filter is specific to the stated symbol and hours.

Key ideas

  • The strategy combines fast and slow CCI readings with an EMA trend filter.
  • A bullish signal requires positive fast CCI, an upward slow CCI zero-line cross, and a close above the EMA.
  • A bearish signal reverses the CCI and price conditions.
  • ATR can be used to set stop-loss and take-profit distances, while a session filter can limit USDJPY activity.
  • Zero-line triggers can respond early, but they may also generate whipsaws; the supplied text does not establish profitability.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.