Skip to content
All library documents

Smoothing CCI with Harmonic Spectrum Filtering

Article MQL5 code base

Summary

This indicator concept smooths a Commodity Channel Index series by filtering higher-order harmonics in its spectrum. It presents spectral filtering as a way to reduce fluctuations in an indicator while aiming to avoid the delay often associated with smoothing. The same general technique is suggested for smoothing other indicator series, though no examples beyond CCI are described.

The parameters include the CCI period and applied price, a series length that must be a power of two, and a smoothing coefficient that suppresses frequency ratios above a chosen threshold. The coefficient has an upper bound tied to the series length; at its maximum, the output reproduces the original CCI series. The document provides parameter descriptions but no charts, performance tests, or trading rules to establish whether the claimed lack of delay holds in practice. Use also depends on an external library, and the text does not explain implementation details or how to select settings for different markets.

Key ideas

  • The indicator smooths CCI values by filtering higher-order harmonics in their spectrum.
  • The method is presented as applicable to other indicator series as well.
  • The series length must be a power of two, and the smoothing coefficient controls which frequency ratios are suppressed.
  • At the coefficient's maximum, the output repeats the unsmoothed CCI series.
  • The document offers no empirical evaluation of signal quality or trading performance.

Tags

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