最简单的周日同K显示主图,无需引用公式,语句少(有需要还可再减少一句输出)(有一小毛病,如周三没有开市交易将不会显示周K中的HL连线)
ZC:=C#WEEK;
ZO:=O#WEEK;
ZH:=H#WEEK;
ZL:=L#WEEK;
STICKLINE(WEEKDAY=3 AND ZC ZO,ZH,ZL,1,0),COLOR000055;{此句与下一句可省略一句}
STICKLINE(WEEKDAY=3 AND ZC ZO,ZH,ZL,1,0),COLOR005500;
STICKLINE(ZC ZO,ZC,ZO,5,0),COLOR000055;
STICKLINE(ZC ZO,ZC,ZO,5,0),COLOR005500;
DRAWKLINE(H,O,L,C);