BandpassFilter

The Bandpass Filter is a tool created in an attempt to isolate primitive frequency components out of cyclic input data. Based on the assumption that the price data is cyclic, using the Bandpass Filter may help single out the components to be further used by the Fourier Series Indicator. The Fourier Series Indicator converts the input price data into waveshapes, which may help identify trends and cyclic turning points.

To properly isolate the primitive components, the following values need to be determined:

  • Cycle period: The amount of bars in the primary cyclic component in the data.
  • Bandwidth: The tolerance of the measurement of the cycle period.
  • Harmonic: The order of the cyclic component in the wave.

Input Parameters

Parameter Description
length The amount of bars in the primary cyclic component in the data.
bandwidth The tolerance of the measurement of the cycle period.
harmonic The order of the cyclic component in the wave.

Plots

Plot Description
BandpassFilter The Bandpass Filter output.
ZeroLine The zero level.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.