Skip to content
All library documents

Smoothing the Chaikin Oscillator with Spectral Harmonic Filtering

Article MQL5 code base

Summary

This indicator example smooths the Chaikin Oscillator time series by filtering higher-order harmonics. The publication presents the method as a way to smooth indicator output with practically zero latency, and says the same approach can be applied to other indicators. Its configurable inputs include the oscillator’s fast and slow moving-average periods, moving-average method, applied volume type, series length, smoothing coefficient, and horizontal shift.

The series length is specified as a power of two. The smoothing coefficient controls which frequencies are removed from the resulting spectrum and cannot exceed the maximum implied by that length; at the maximum, the original Chaikin Oscillator series is repeated. The document points to a required external library and attributes the original code to its author, but supplies no comparative charts, parameter guidance, backtests, or evidence that the smoothing improves trading decisions. The near-zero-latency claim is presented without supporting measurements.

Key ideas

  • The example smooths the Chaikin Oscillator by filtering higher-order harmonics.
  • The described spectral approach can also be applied to other indicator series.
  • The series length is a power of two, and the smoothing coefficient controls the frequency cutoff.
  • At the maximum smoothing coefficient, the original oscillator series is repeated.
  • The publication claims practically zero latency but provides no supporting performance comparisons.

Tags

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