Implementation of Ehler's Reflex Indicator from TASC Feb 2020.
Optional MTF and fixed/adaptive length based on one of Ehler's cycle measurements.
Optional settings for his recommended 2 bar averaging, can apply the averaging to either/and source ie (close + close[1]) / 2, the output of the smoothing filter portion of the calculation or the final indicator output.
Green/Red : Reflex/Cycle
Aqua/Purple : Trend