Skip to content
All library documents

CCI Trend Signals Smoothed with an EMA

Article Strategy library · Author: ChaoZhang

Summary

This strategy smooths the Commodity Channel Index with an exponential moving average and uses the smoothed value to generate directional signals. The document explains CCI as a measure of price deviation from its moving average. It describes entering long when the smoothed CCI crosses above a buy threshold and short when it crosses below a sell threshold, with the position held until the indicator returns to a threshold.

The published settings use a 20-period CCI and a 12-period EMA, with both buy and sell thresholds set to zero. The source code instead enters long whenever the smoothed CCI is above the buy threshold and short whenever it is below the sell threshold; it does not implement the described threshold-based exits. The document mentions a one-month BTC/USDT futures backtest but provides no performance figures. It also notes that CCI sensitivity, trend reversals, limited data, and parameter overfitting can undermine results, and recommends careful testing and risk controls.

Key ideas

  • A 20-period CCI is smoothed with a 12-period EMA to reduce signal fluctuations.
  • The described method uses threshold crossings for directional entries and exits.
  • The source code enters based on whether smoothed CCI is above or below zero, without the described exit rules.
  • The backtest settings contain no performance results, and the document warns about false signals and overfitting.

Tags

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