ma5:MA(CLOSE,5),LINETHICK1,COLORCYAN;
MA10:MA(CLOSE,10),LINETHICK1,COLORWHITE;
_现价:CLOSE,COLORRED,NODRAW;
_10日涨跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORCYAN,NODRAW;
给:=ema(C,2),COLORWHITE;
力:=EMA(SLOPE(C,9)*20+C,37);
买:=crOSS(给,力);
卖:=CROSS(力,给);
DRAWICON(买,L*0.97,1);
DRAWTEXT(买,L*0.95,'进'),COLORBLUE;
DRAWICON(卖,H*1.03,2);
DRAWTEXT(卖,H*1.08,'撤'),COLORRED;
STICKLINE(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(给>=力,CLOSE,OPEN,2,1),COLORWHITE;
STICKLINE(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(给>=力,CLOSE,OPEN,2,1),COLORWHITE;
STICKLINE(给<力,LOW,HIGH,0.01,0),COLORFFDD00;
STICKLINE(给<力,CLOSE,OPEN,2,0),COLORFFFF00;
STICKLINE(CROSS(给,力),OPEN,CLOSE,2.5,0),COLORBLUE;
STICKLINE(CROSS(力,给),OPEN,CLOSE,2.5,0),COLORRED;