VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),12,1)/SMA(ABS(CLOSE-
REF(CLOSE,1)),12,1)*100>23;
VAR3:=VAR1 AND VAR2;
VAR3 AND VOL>MA(VOL,18) AND (REF(CLOSE,1)>REF(OPEN,1) OR
REF(CLOSE,1)REF(OPEN,2) OR
REF(CLOSE,2)REF(OPEN,3) OR
REF(CLOSE,3)REF(OPEN,4) OR
REF(CLOSE,4)REF(OPEN,5) OR
REF(CLOSE,5)REF(OPEN,6) OR
REF(CLOSE,6)