The smoothed repulse indicator is already included in the platform, but there is no instruction to refer to its value in the code. So here is the full code that can be used in any ProOrder automated trading strategy and for further experimentation.
Period or “Length” can be changed in the first line of the code, default is “5” like the platform indicator.
// parameters:
Length=5
Bull=exponentialAverage[5*Length](((3*Close)-(2*lowest[Length](low))-Open[Length])/Close*100)
Bear=exponentialAverage[5*Length]((Open[Length]+(2*highest[Length](high))-(3*Close))/Close*100)
Repuls=Bull-Bear
RETURN Repuls as "Smoothed Repulse", 0 as "0"