AO:=O#WEEK;
AC:=C#WEEK;
AH:=H#WEEK;
AL:=L#WEEK;
STICKLINE( AO>AC,AH,AL,4,0),COLOR1A6462;
STICKLINE( AO<AC,AH,AL,4,0),COLOR4A443E;
DRAWKLINE(H,O,L,C);
AD:=DATE#WEEK;
K0:=IF((AD>REF(AD,1) ) OR BARSSINCE(C)=0,1,0);
DRAWTEXT(K0,AH*1.02,VAR2STR(AH,2)),COLOR0099AA;
DRAWTEXT(K0,AL*0.98,VAR2STR(AL,2)),COLORAA9900;
MA5:EMA(C,5),COLOR40FF00;
MA8:EMA(C,8),COLORFF00FF;
MA13:EMA(C,13),COLORFF8000;
MA21:EMA(C,21),COLOR0080FF;
MA55:EMA(C,55),POINTDOT,LINETHICK4,COLORRED;
MA144:EMA(C,144),COLORFFFFFF;