N1:=6;N2:=12;M:=24;
Var1:=EMA(CLOSE, N1)-EMA(CLOSE, N2);
Var2:=EMA(Var1, M);
Var3:=2*(Var1-Var2);
GFM:Var1-Var2, COLORSTICK;
Var4:=GFM>(-0.020) AND GFM<0.020;
Var5:=COUNT(Var4, 3)>=2;
Var6:=VOL>REF(VOL, 1)*1.5;
Var7:=MA(CLOSE, 30);
Var8:=Var7>=REF(Var7, 1);
Var9:=GFM>0.020 AND GFM>REF(GFM, 1)*2;
Var10:=Var6 AND Var8 AND Var9;
Var11:=Var5 AND Var10;
GFG:IF(Var11, 0.200, 0);
(-0.020);
0.020;