Var2:=(CLOSE*2+HIGH+LOW)/4;
Var3:=EMA(Var2,3);
Var4:=EMA(Var3,6);
L1: EMA(Var2,3), , {00030001};
L2: EMA(Var3,4), , {00030001};
L3: EMA(Var4,5), , {00030001};
Var5:=REF(L1,1)>L1 AND L1>L2;
Var6:=L1>L2 AND CLOSE<OPEN;
Var7:=AMOUNT/10000;
Var8:=Var7/MA(Var7,5);
Var9:=VOL/FINANCE(7);
VarA:=Var8>2 AND REF(Var8>1,1) AND REF(Var8>1,2);
VarB:=Var9>5 AND REF(Var8>1,1) OR Var9>5 AND Var8>1 OR Var9>4 AND Var8>2;
VarC:=CLOSE-REF(MA(CLOSE,21),1);
VarD:=EMA(VarC-MA(VarC,21),5);
VarE:=SMA(VarC,7,1);
VarF:=CROSS(VarC,VarE) AND VarE<-1;
if(VarF,OPEN-0.5,0),pointdot,linethick4 , COLORYELLOW;
if(L1>L3 AND CROSS(L1,L3) AND (VarA OR VarB),OPEN-1,0),linethick4 ,pointdot, COLORYELLOW;OPEN-0.8,linethick4 ,pointdot, COLOR000000;
if(L1>=L2,l1,0),pointdot,linethick4, COLORRED;
if(L1<L2,l2,0),pointdot,linethick4, COLOR00ff00;
if(Var5,HIGH,0),pointdot,linethick4, COLORBLUE;