普通K线源码:
STICKLINE(C>=O,L,H,0,0),COLORRED;
STICKLINE(C>=O,C,O,3,1),COLORRED;
STICKLINE(C<O,L,H,0,0),COLORCYAN;
STICKLINE(C<O,C,O,3,0),COLORCYAN;
{一字涨跌停}
ztb:=c/ref(c,1)>=1.095 and o=h;
dtb:=c/ref(c,1)<=1-0.095 and o=l;
STICKLINE(ztb,L,H,0,0),COLORRED;
STICKLINE(ztb,C,O,3,1),COLORRED;
STICKLINE(dtb,L,H,0,0),COLORCYAN;
STICKLINE(dtb,C,O,3,0),COLORCYAN;
M5:MA(C,5);
M20:MA(C,20);
MA60:MA(C,60);