WC:=C#WEEK,LINETHICK0;{周}
WO1:=IF(WEEkdAY<REF(WEEKDAY,1),O,DRAWNULL);
WO:=HHV(WO1,WEEKDAY),LINETHICK0;{日}
WH:=HHV(H,WEEKDAY),LINETHICK0;
WL:=LLV(L,WEEKDAY),LINETHICK0;
MC:=C#MONTH,LINETHICK0;{月}
MO1:=IF(DAY<REF(DAY,1),O,DRAWNULL);
MO:=HHV(MO1,DAY),LINETHICK0;
AG:=DAY<REF(DAY,1);
BG:=BArslAST(AG)+1;
MH:=HHV(H,BG),LINETHICK0;
ML:=LLV(L,BG),LINETHICK0;
STICKLINE(MC>=MO,MO,MC,4,0),COLOR5CA8FD;{COLOR5CA8FD淡橙色}
STICKLINE(MC<MO,MO,MC,4,0),COLOR008B00;{COLOR008B00深绿}
STICKLINE(WC>=WO,WO,WC,4,0),COLOR003399;{COLOR003399土红}
STICKLINE(WC<WO,WO,WC,4,0),COLOR993300;{COLOR993300深蓝}
DRAWKLINE(H,O,L,C);