Var2:=SMA(Var1,9,1)+100;
Var3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var4:=SMA(Var3,3,1);
Var5:=SMA(Var4,3,1)+100;
Var6:=Var5-Var2;
S: IF(Var6 100,Var6-100,0);
STICKLINE(REF(S,1) S,S,REF(S,1),5,0),COLORWHITE;
STICKLINE(REF(S,1) S,S,REF(S,1),5,0),COLORgreen;