I am trying following script to scan stocks
REF(CLOSE,1) > SMA(CLOSE,20) AND
(REF(HIGH,1) - REF(CLOSE,1)) * (100/REF(HIGH,1))) < 1
It gives error your script has error. How do I check which part of script has error ?
I am trying following script to scan stocks
REF(CLOSE,1) > SMA(CLOSE,20) AND
(REF(HIGH,1) - REF(CLOSE,1)) * (100/REF(HIGH,1))) < 1
It gives error your script has error. How do I check which part of script has error ?
Try checking the brackets, I think it is an issue with that. There is an extra closing bracket.
(REF(HIGH,1) - REF(CLOSE,1)) * (100/REF(HIGH,1))) < 1
I think there is an extra closing bracket at the end. So, based on what you want to do, make the changes to the opening and closing bracket.