M1:=5;M2:=10;M3:=20;MA5:MA(CLOSE,M1),LINETHICK2,COLORFF0000;MA10:MA(CLOSE,M2),LINETHICK2;MA20:MA(CLOSE,M3),LINETHICK2,COLOR00FF00;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF>9.8,O,C,6,0),COLORRED;STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE;VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=R