MA3:MA(CLOSE,4),ColorFFFfff,linethick1;
MA8:MA(CLOSE,8),Color208fff,linethicK1;
MA49:=MA(CLOSE,49),Color00ff00,linethick1;
angel:=EMA(C,2),colorf00ff0;
devil:EMA(SLOPE(C,21)*20+C,42),pointdot,colorf00ff0,linethick3;
BUY:=cross(angel,devil);
SEL:=cross(devil,angel);
stickline(cross(angel,devil) or cross (devil,angel),open,close,5,0),colorf00ff0;
drawtext(buy,LOW*0.99,'↑买'),coloryellow,linethick3;
drawtext(sel,HIGH*1.03,'↓卖'),color00ff00,linethick3;
z:zig(3,5),color00ffff,linethick2;
var3:=PEAKBARS(3,5,1)<10;
var5:=IF(var3=1,2,0);
顶:= IF(var5=2,2,0);
顶A:if(顶>ref(顶,1),50,0),color00ff00,linethick2;
DRAWTEXT(顶A=50,45,'↓快走'),COLORccff66;