源码
买线:EMA(C,2),COLOR000999;
卖线:EMA(SLOPE(C,21)*20+C,42),POINTDOT,coloryellow;
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,LOW-0.06,'买进'),coloryellow;
DRAWTEXT(SEL,HIGH+0.2,'卖出'),colorgreen,LINETHICK7;
DRAWICON(BU,LOW-0.02,5);
DRAWICON(sel,HIGH+0.1,2);
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,6,0),colorblue;