Var1:=RANGE(C,199,100000);
Var2:=FILTER(C>O,5);
Var3:=COUNT(C>O,20);
Var4:=COUNT(C<O,20);
Var5:=IF(var3>var4,C,H);
Var6:=EMA(var5,13);
Var7:=EMA(var5,55);
Var8:(var6-var7)/10;
STICKLINE(Var8<REF(var8,1) ,var8,var8+0.012,6,0),colorgreen;
STICKLINE(Var8>REF(var8,1),var8,var8+0.012,6,0),colorred;
Var9:=LONGCROSS(var1,var4,10);
0;
COUNT(var9,10)=1;