Var1:=AMOUNT/VOL/100;
Var2:=MAX(ABS(HIGH-Var1),ABS(Var1-LOW));
Var3:=ABS((OPEN+CLOSE)/2-Var1);
Var4:=(Var2+Var3)/Var1*50>=5;
var5:=MA(CLOSE,5);
VAR6:=MA(CLOSE,10);
VAR7:=CROSS(CLOSE,VAR5) AND CROSS(CLOSE,VAR6);
Var4 AND VAR7;
Var1:=AMOUNT/VOL/100;
Var2:=MAX(ABS(HIGH-Var1),ABS(Var1-LOW));
Var3:=ABS((OPEN+CLOSE)/2-Var1);
Var4:=(Var2+Var3)/Var1*50>=5;
var5:=MA(CLOSE,5);
VAR6:=MA(CLOSE,10);
VAR7:=CROSS(CLOSE,VAR5) AND CROSS(CLOSE,VAR6);
Var4 AND VAR7;