买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(bu,LOW+0.1,'B'),colorred,LINETHICK3;
DRAWTEXT(bu,LOW+0.1,' ̄'),Color0000FF,LINETHICK3;
DRAWTEXT(sel,HIGH+0.1,' ̄'),,,ColorFFF000,LINETHICK3;
drawtext(sel,HIGH+0.1,'S'),,,colorgreen,linethick3;
stickline(买线>=卖线,low,high,0.1,1),colorred;
stickline(买线>=卖线,close,open,8,1),colorred;
stickline(买线<卖线,close,open,8,0),color00ff00;
stickline(买线<卖线,low,high,0.1,1),color00ff00;