This is Ehlers most recent indicator, today is 6/17/18 "Forward and Reverse EMA". I have done my best to translate the code form trade stations easy language.
If anyone knows easy language could they check my translation against the easy language code below.
I have since found that this indicator is not correct. i will do my best to fix and repost.
H
linuxguru
⋅
@DannyBaker, The problem is you are not storing the history for the r1,r2 values independently for the trend and cycle alphas, do they are written over each other. Pulling the calculations into a function doesn't create separate r1..r8 variables for the call to reverse(). Probably best to calculate one and let user pick the alpha they want.