Was looking for a screener that will find gap downs or up between two moving averages. E.g. The 20/50 moving average.
How to convert this tc2000 code to proreal? Gap down between to moving averages. Thanks
(AVGC20 < H AND H < L1 AND L1 < AVGC50) OR (AVGC50 < H AND H < L1 AND L1 < AVGC20)
Not tested, but would be something like this:
AVGC20 = average[20]
H = high
L1 = low[1]
test=(AVGC20 < H AND H < L1 AND L1 < AVGC50) OR (AVGC50 < H AND H < L1 AND L1 < AVGC20)
screener[test]