WT:=BArslAST(WEEkdAY!=REF(WEEKDAY,1));
{星期一位置标识坚线,是星期一都画线}
STICKLINE(WEEKDAY=1,CONST(HHV(H,WT+6)),CONST(LLV(L,WT+6)),0,-1),COLORLIGRAY;
{只画最近一个星期一位置标识坚线}
STICKLINE(CURRBARSCOUNT=CONST(BARSLAST(WEEKDAY=1))+1,CONST(HHV(H,WT+6)),CONST(LLV(L,WT+6)),0,-1),COLORYELLOW;
DRAWKLINE(H,O,L,C);{重画k线便于看图};