//Smoothed Repulse
// parameters:
SRLength=5
Bull=(exponentialAverage[5*SRLength](((3*Close)-(2*lowest[SRLength](low))-Open[SRLength])/Close*100))
Bear=(exponentialAverage[5*SRLength]((Open[SRLength]+(2*highest[SRLength](high))-(3*Close))/Close*100))
SmoothedRepulse=(Bull-Bear)
BullSmoothedRepulse=(SmoothedRepulse<2.6)
BearSmoothedRepulse=(SmoothedRepulse>0)
Since a week the code above is rejected when I try to ProBack test. Any ideas? Thanks
Thank you Robert, that is correct. I use 10.3, but the code string has been working for months until last week. That is why I am a bit puzzled.
Actually the issue is that you are using SmoothedRepulse as a variable name that is now a reserved keyword.
Rename it SmoothedRepulseX.
Thank you Roberto. Spot on, that did it. THANKS!!