VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100<-28;
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,1)) AND (REF(CLOSE,2)>REF(OPEN,2) OR
REF(CLOSE,2)<REF(OPEN,2)) AND (REF(CLOSE,3)>REF(OPEN,3) OR
REF(CLOSE,3)<REF(OPEN,3)) AND (REF(CLOSE,4)>REF(OPEN,4) OR
REF(CLOSE,4)<REF(OPEN,4)) AND (REF(CLOSE,5)>REF(OPEN,5) OR
REF(CLOSE,5)<REF(OPEN,5)) AND (REF(CLOSE,6)>REF(OPEN,6) OR
REF(CLOSE,6)<REF(OPEN,6));