Trendflex

Description

The Trendflex indicator is a variation of the Reflex study. It is an oscillator that helps reveal market data cycles. It is based on a model that regards market data as a combination of data cycles and short-term trends. This model is slightly different than the model used in Reflex: in Trendflex, trendlines are always horizontal, ending at the most recent peak or valley and starting above or below the previous peak or valley. Carefully selecting the projected cycle length and analyzing the values of the Trendflex indicator, one can identify the turning points as stipulated by this model.

The Trendflex indicator is calculated using the following algorithm:  

  1. The price data is run through the EhlersSuperSmootherFilter.
  2. A presumed trend length is calculated based on the selected indicator (cycle) length.
  3. A root mean square of the average distance between the horizontal trendline and price points is found. 
  4. The ratio of the average distance to its root mean square yields the Trendflex indicator value.

When the indicator is at its maximum, a peak-to-peak trend may have come to an end. When the indicator is at its minimum, a valley-to-valley trend may have come to an end.

Input Parameters

Parameter Description
length The projected data cycle length.

Plots

Plot

Description

Trendflex The Trendflex indicator plot.
ZeroLine The zero level.

Example*

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