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线便于看图};
14P036391050-4R63.jpg
|