V1:=3;N1:=40;
Var1:=MA(VOL, 10);
Var2:=VOL/Var1;
MY1:IF(Var2>V1, MA(CLOSE, 1)-MA(CLOSE, 20), 0), COLORSTICK;
Var3:=MA(CLOSE, 1)
Var4:=MA(CLOSE, 1)/MA(CLOSE, 20)<1.010;
Var5:=CROSS(MA(CLOSE, 120), MA(CLOSE, 1));
Var6:=CROSS(MA(CLOSE, 1), MA(CLOSE, 120));
Var7:=COUNT(Var3, N1)>1 AND COUNT(Var5, N1)=1 AND COUNT(Var4, N1)>=1;
Var8:=Var6;
MY2:IF(Var7 AND Var8, 2, 0);