Var1:=(CLOSE*2+HIGH+LOW)/4;
Var2:=EMA(Var1,3);
Var3:=EMA(Var2,6);
L1: EMA(Var1,3);
L2: EMA(Var2,4);
L3: EMA(Var3,5);
STICKLINE(L1>=L2,HIGH,LOW,6,0),color00ff00 , {00010001};
STICKLINE(L1<L2,HIGH,LOW,6,0),colorffcccc , {00010001};
Var4:=REF(L1,1)>L1 AND L1>L2;
Var5:=L1>L2 AND CLOSE<OPEN;
STICKLINE(Var4,HIGH,LOW,6,0),colorblue , {00010001};
Var6:=AMOUNT/10000;
Var7:=Var6/MA(Var6,5);
Var8:=VOL/FINANCE(7);
Var9:=Var7>2 AND REF(Var7>1,1) AND REF(Var7>1,2);
VarA:=Var8>5 AND REF(Var7>1,1) OR Var8>5 AND Var7>1 OR Var8>4 AND Var7>2;
STICKLINE(L1>L3 AND CROSS(L1,L3) AND (Var9 OR VarA),OPEN-0.8,OPEN-1,6,0),colorf00ff0 , {00010001};
VarB:=CLOSE-REF(MA(CLOSE,21),1);
VarC:=EMA(VarB-MA(VarB,21),5);
VarD:=SMA(VarB,7,1);
VarE:=CROSS(VarB,VarD) AND VarD<-1;
STICKLINE(VarE,OPEN-0.5,OPEN-1,6,0),colorf0f000 , {00010001};
STICKLINE(VarE,LOW*0.99,LOW*0.98,12,0),colorred , {00010001};
drawicon(count(ema(ema(l1,5),3)>ref(ema(ema(l1,5),3),1),1)=1 and ref(ema(ema(l1,5),3),1)<ref(ref(ema(ema(l1,5),3),1),1),low-0.1,1);