I found the following script in the sample script section and copied and pasted it to the script editor, but I get an error message saying "Please enter a valid script to add to this criteria"
I have tried other sample scripts and they seem to work ok, but I can't work out what is wrong with this one.
5th Consecutive Close Above 34 EMA after Crossing
CLOSE(5) CLOSE(4) > OFFSET(MA(BARS=34, STYLE=Exponential),4) and CLOSE(3) > OFFSET(MA(BARS=34, STYLE=Exponential),3) and CLOSE(2) > OFFSET(MA(BARS=34, STYLE=Exponential),2) and CLOSE(1) > OFFSET(MA(BARS=34, STYLE=Exponential),1) and CLOSE() > MA(BARS=34, STYLE=Exponential)
Best regards,
Jennifer Taylor