源码
价5:=MA(C,5);
周开盘:=REF(O,WEEKDAY-1);
周开5平:=MA(周开盘,5);
周开20平:=MA(周开盘,20);
STICKLINE(C>周开盘,C,周开盘,5,0),COLOR000066;
STICKLINE(C<周开盘,C,周开盘,5,0),COLORCC0033;
DRAWKLINE(H,O,L,C);
本周:IF(CURRBARSCOUNT<5,CONST(REF(周开盘,0)),DRAWNULL),COLORYELLOW;
上周:IF(CURRBARSCOUNT<7,CONST(REF(周开盘,5)),DRAWNULL),COLORYELLOW,DOTLINE;
前二:IF(CURRBARSCOUNT<12,CONST(REF(周开盘,10)),DRAWNULL),COLORYELLOW,POINTDOT;
前三:IF(CURRBARSCOUNT<17,CONST(REF(周开盘,15)),DRAWNULL),COLORYELLOW,CROSSDOT;
前四:IF(CURRBARSCOUNT<22,CONST(REF(周开盘,20)),DRAWNULL),COLORYELLOW,CIRCLEDOT;
前五:IF(CURRBARSCOUNT<27,CONST(REF(周开盘,25)),DRAWNULL),COLORYELLOW,;