MID : MA(C,N),LINETHICK2,NODRAW;
UPPER: MID + P*STD(CLOSE,N),COLORFF00FF,NODRAW;
LOWER: MID - P*STD(CLOSE,N),COLOR80FF00,NODRAW;
COST(97),LINETHICK2,COLOR80FF00;
COST(51),LINETHICK2,COLORBLUE;
COST(83),LINETHICK2,COLORRED;
COST(3),LINETHICK2,COLORFF00FF;
COST(17),LINETHICK2,COLOR00FFFF;
MA1:MA(CLOSE,P1),LINETHICK2,NODRAW;
EMA(C,17),LINETHICK1,COLORFFFFFF,NODRAW;
MA(C,21),LINETHICK2,COLORFFFF00;
STICKLINE(CLOSE/REF(C,1)>=1.09,O,C,2.7,0),COLORMAGENTA;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,FGBLOCK);
Z3:=STRCAT(Z2,DYBLOCK);
Z4:=STRCAT(Z3,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z4,GNBLOCK)),COLORCYAN;