FM_Demodulator2

Description

The modified FM Demodulator is a technical indicator that singles out the frequency modulation component out of market data cycles. It does so by applying a hard limiter that eliminates all amplitude information from the market data spectrum. Based on signal processing techniques, this indicator can help detect potential turning points in market data. As opposed to the plain FM Demodulator, it calculates the hard limiter filter based on the two-bar price momentum instead of the difference between the close and open.

The modified FM Demodulator is calculated as follows:

  1. Hard limiter is applied to the two-bar close price momentum: the momentum times two is divided by its root mean square, and the results are cut off to fit the -1 to +1 range.
  2. The sum of the four last hard limiter values is found (plot Timing).
  3. A simple moving average of the previous result is calculated (plot Signal).
  4. The rate of change of the moving average is the resulting indicator (plot ROC).

The crossovers of the resulting indicator can help recognize potential entry and exit points.

Input Parameters

Parameter Description
signal length The length of the average to calculate the Signal plot with.
roc length The length of the rate of change to calculate the ROC plot with.
rms length The length of the root mean square to calculate the hard limiter with.

Plots

Plot Description
Timing The Timing plot, a sum of the four last hard limiter values.
Signal The Signal plot, a moving average of Timing.
ROC The ROC plot, the rate of change of Signal.
ZeroLine The zero level.