DRAWGBKLAST(C>0,STRIP(RGB(75,0,130),RGB(0,0,0),0));
T:=DATE<10121231;
强:=EMA(CLOSE,4)*T;
弱:EMA(CLOSE,13),COLORYELLOW;
STICKLINE((强>弱),强,弱,1,0),COLORRED;
STICKLINE((强<弱),强,弱,1,0),COLORGREEN;
阻力:COST(97),COLORMAGENTA;
支撑:COST(2),COLORGREEN;
现价:MA(CLOSE,1),COLOREEEEEE;
停牌:=NOT(STRFIND(STKNAME,'ST',1))>0 AND (DYNAINFO(4)=0)<1;
投机:IF(CROSS(现价,支撑) AND 停牌,支撑*1.12,支撑)*T,COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(现价,支撑),支撑*1.05,'★B'),COLORRED;
DRAWTEXT(LONGCROSS(阻力,现价,2),阻力*1.05,'★S'),COLORGREEN; |