M10:EXPMA(C,10), COLORYELLOW;
M30:EXPMA(C,30),COLORMAGENTA;
M60:EXPMA(C,60),COLORCYAN;
M120:EXPMA(C,120),COLORGREEN;
M250:EXPMA(C,250),COLORWHITE;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR91F00F;
A:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(A>4,L,H,0,0),COLOR13A6EC;
STICKLINE(A>4,O,C,3,0),COLOR13A6EC;
STICKLINE(A>9 AND C=H,L,H,0,0),COLOR1D04FB;
STICKLINE(A>9 AND C=H,O,C,3,0),COLOR1D04FB;
STICKLINE(A<-4,L,H,0,0),COLORF5898C;
STICKLINE(A<-4,O,C,3,0),COLORF5898C;
STICKLINE(A<-9 AND L=C,L,H,0,0),COLOR00FF80;
STICKLINE(A<-9 AND L=C,O,C,3,0),COLOR00FF80;
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C<REF(O,1) AND F<0,1,0);
P2:=IF(C<REF(O,2) AND F<0,1,0);
TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;
STICKLINE(TT3 AND UPNDAY(M60,5) AND UPNDAY(M10,5),OPEN,CLOSE,3,0),COLORFF00FF;