MA1:MA(C,s),colorwhite; MA2:MA(C,m),coloryellow;
MA3:MA(C,L),colormagenta;
当前价:STICKLINE(C>0 AND ISNULL(REFX(&CLOSE,1))=1,C,C,4400,-1),colormagenta;
DRAWTEXT(C>0 AND ISNULL(REFX(&CLOSE,1))=1,C,'现价'),colorwhite;
ZTA:=1.1*REF(C,1);
ZTB:=INTPART(ZTA*1000);
ZTC:=INTPART(ZTA*100)*10;
今涨停:IF(ZTB-ZTC>=5,CEILING(ZTB/10)/100,ZTC/1000),nodraw,colorred;
STICKLINE(C>0 AND ISNULL(REFX(&CLOSE,1))=1,今涨停,今涨停,4400,-1),colorred;
DRAWTEXT(C>0 AND ISNULL(REFX(&CLOSE,1))=1,今涨停,'今涨停'),colorred;
ZTD:=1.1*IF(已板=1,今涨停,C);
ZTE:=INTPART(ZTD*1000);
ZTF:=INTPART(ZTD*100)*10;
明涨停:IF(ZTE-ZTF>=5,CEILING(ZTE/10)/100,ZTF/1000),nodraw,coloryellow;
STICKLINE(C>0 AND ISNULL(REFX(&CLOSE,1))=1,明涨停,明涨停,4400,-1),coloryellow;
DRAWTEXT(C>0 AND ISNULL(REFX(&CLOSE,1))=1,明涨停,'明涨停'),coloryellow;
|
