SG:INSUM('沪深300','maCD150',3,0),COLORSTICK;
QD:=SG<0 AND SG>REF(SG ,1) AND REF(SG ,1)<REF(SG ,2)
AND REF(SG ,2)<REF(SG ,3)
AND REF(SG ,3)<REF(SG ,4);
STICKLINE(QD,0.4,SG,2,0),COLORBLUE;
ZR:=SG>0 AND SG<REF(SG ,1) AND REF(SG ,1)>REF(SG ,2)
AND REF(SG ,2)>REF(SG ,3)
AND REF(SG ,3)>REF(SG ,4);
STICKLINE(ZR,0.4,SG,1,0),COLORCYAN;
STICKLINE(SG>REF(SG,1) AND SG>0,0,SG,1,0),COLORWHITE;