以下是大智慧逃顶-准副图源码

MA3:MA(CLOSE,4),CulorFFFfff,linethick1;
MA8:MA(CLOSE,8),Culor208fff,linethicK1;
MA49:=MA(CLOSE,49),Culor00ff00,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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。