今开:DYNAINFO(4);DRAWNUMBER(ISLASTBAR,今开,今开);:=TIME2=100000;N:=BARSLAST(时间);CS1:CONST(IF(N,MAX(REF(HHV(H,0),N),DYNAINFO(4)),HHV(H,0))),DOTLINE,COLOR00FFFF;CS2:CONST(IF(N,MIN(REF(LLV(L,0),N),DYNAINFO(4)),LLV(L,0))),DOTLINE,COLOR00FFFF;DRAWNUMBER(CURRBARSCOUNT=2,CS1,CS1),COLORYELLOW,LINETHICK3;DRAWICON(OSS(C,CS1),CS1,1);DRAWICON(CROSS(C,CS2),CS2,2);