Skip to content
All library documents

Smoothing ADX with Harmonic Frequency Filtering

Article MQL5 code base

Summary

This indicator example applies spectral filtering to the Average Directional Index (ADX). It transforms the ADX time series into frequency components and removes higher-order harmonics to produce a smoother series. The stated motivation is to reduce fluctuations while introducing very little delay, and the document notes that the same general filtering approach can be applied to other indicators.

The settings include an ADX averaging period, a series length, and a smoothing coefficient that controls how many frequencies are retained. The series length is specified as a power of two, and setting the coefficient to its maximum reproduces the full ADX series. The note offers parameter descriptions but no chart-based evaluation, market examples, or measured comparison of lag and smoothing. The low-delay benefit is therefore a stated design claim, not a demonstrated result, and the document does not explain how to derive trades from the filtered readings.

Key ideas

  • The indicator smooths ADX by filtering higher-order harmonic components in its spectrum.
  • The smoothing coefficient controls which frequencies are retained in the reconstructed series.
  • The method is presented as adaptable to other indicator time series.
  • The document claims little delay but provides no empirical comparison or trading results.

Tags

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