以下是同花顺小牛买卖机会副图指标 源码副图指标源码

指标中,自动显示买卖时点,使用者照此操作即可。

VAR1:=EMA(C,2);
 VAR2:=EMA(SLOPE(C,21)*20+C,42);
 VAR3:=CROSS(VAR1,VAR2);
 VAR4:=CROSS(VAR2,VAR1);
 VAR5:MA(C,20),colorgreen,LINETHICK1;
 CAR6:MA(C,10),COLORFA05FF,LINETHICK2;
 DRAWTEXT(VAR3,LOW*0.95,”),coloryellow,LINETHICK3;
 DRAWTEXT(VAR4,HIGH*1.028,”),colorgreen,LINETHICK3;
 STICKLINE(VAR1=VAR2,LOW,HIGH,0,0),colorred;
 STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),colorred;
 STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),colorred;
 STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),colorred;
 STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),colorred;
 STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),colorgreen;
 STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),colorgreen;
 STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),colorgreen;
 STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),colorgreen;
 STICKLINE(VAR1<VAR2,LOW,HIGH,0,0),colorgreen;
 DRAWTEXT(CROSS(CAR6,VAR5),CAR6,’始’);
DRAWTEXT(CROSS(VAR5,CAR6),VAR5,’终’);

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