Original LUA indicator: http://fxcodebase.com/code/viewtopic.php?f=17&t=54668.
Formulas:
Bogie = (L-R)/(Short_Length-Long_Length), where
L[i] = Simple Moving average(Short_Length-1, i-1)*(Short_Length-1)*Long_Length,
R[i] = Simple Moving average(Long_Length-1, i-1)*(Long_Length-1)*Short_Length.
Indicator:
Download:
Oscillator:
Download: