MA3:MA(CLOSE,4),ColorFFFfff,linethick1;
angel:=EMA(C,2),colorf00ff0;
devil:EMA(SLOPE(C,21)*20+C,42),POINTDOT,colorf00ff0,linethick3;
BU:=CROSS(angel,devil);
SEL:=CROSS(devil,angel);
STICKLINE(CROSS(angel,devil) OR CROSS (devil,angel),OPEN,CLOSE,5,0),colorblue,linethick4;
DRAWTEXT(BU,LOW*0.99,'买'),coloryellow,linethick3;
DRAWTEXT(sel,HIGH*1.03,'卖'),color00ff00,linethick3;