ZX:=BARSLAST(DATE=1240606);
AH:DRAWLINE(CURRBARSCOUNT=CONST(ZX)+1,H,ISLASTBAR,REF(H,ZX),0),COLORGREEN;
AL:=DRAWLINE(CURRBARSCOUNT=CONST(ZX)+1,C,ISLASTBAR,REF(L,ZX),0),COLORRED;
ZF:=C>AH;
XG:REF(ZF,1)=0 AND ZF,COLORRED,NODRAW;
DRAWICON(XG,L*0.99,1);
DRAWTEXT(ZX=0,H*1.02,'6月6日'),COLORWHITE;