Var1:=CLOSE>REF(CLOSE,1);
Var2:=Var1 AND REF(Var1,1) AND REF(Var1,2);
Var3:=VOL>REF(VOL,1);
Var4:=Var3 AND REF(Var3,1) AND REF(Var3,2);
Var5:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND
MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
Var6:=REF(CLOSE,1);
Var7:=SMA(MAX(CLOSE-Var6,0),5,1)/SMA(ABS(CLOSE-Var6),5,1)*100;
Var8:=COUNT(Var7<20,20)>=1;
Var1 AND Var3 AND Var5 AND Var8;