Skip to content
All library documents

Smoothing OsMA with Harmonic Filtering

Article MQL5 code base

Summary

This indicator example smooths the OsMA time series by filtering higher-order harmonics in its spectrum. The description presents the approach as a way to smooth indicator values while introducing very little delay, and says that the same method can be applied to other indicators. Inputs include the fast and slow EMA periods, the MACD signal period, applied price, series length, smoothing coefficient, and horizontal shift.

The smoothing coefficient determines which frequencies above a selected point are zeroed; the description states that setting it to the full spectrum length reproduces the original OsMA series. The source gives parameter definitions and points to a required external library, but includes no chart-based comparison, testing results, or detailed account of implementation behavior. Claims about delay and smoothing quality should therefore be treated as descriptive rather than independently demonstrated, and the document does not establish that the filtered indicator improves trading decisions.

Key ideas

  • The indicator smooths OsMA by filtering higher-order harmonics in its spectrum.
  • The method is described as applicable to other indicator time series with little delay.
  • A smoothing coefficient controls the frequency cutoff, while the full-length setting reproduces the original series.
  • The document lists configurable EMA, price, length, smoothing, and shift parameters.
  • No comparative tests or evidence of improved trading performance are provided.

Tags

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