ma5:ma(close,5);ma10:ma(close,10),linethick1,coloryellow;ma20:ma(close,20),linethick1,colormagenta;ma60:ma(close,60),linethick1,colorgreen;ma120:ma(close,120);ma250:ma(close,250);买线:=ema(c,9);卖线:=ema(slope(c,34)*10+c,33);drawtext(cross(买线,卖线),l-0.5,'←买入'),colorred;drawicon(cross(买线,卖线),l-0.4,1);drawtext(cross(卖线,买线),h+0.5,'←卖出'),colorgreen;drawicon(cross(卖线,买线),h+0.4,2);stickline(买线>=卖线,low,high,0.1,0),colorred;stickline(买线>=卖线,close,open,3,1),colorred;stickline(买线<卖线,low,high,0.1,0),colorcyan;stickline(买线<卖线,close,open,3,1),colorcyan;stickline(open>close,close,open,1.5,0),colorcyan; 20210311