以下是大智慧转向变盘副图指标
大智慧转向变盘副图指标
源码
Var1:=(EMA(CLOSE,34)-EMA(CLOSE,52))/MA(CLOSE,54)*100;
Var2:=EMA(Var1,10);
Var3:=Var1<0;
Var4:=Var3 AND CROSS(Var1,Var2);
Var5:=Var1>0;
Var6:=Var5 AND CROSS(Var2,Var1);
Va1:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100;
Va2:=EMA(Va1,18);
Va3:=Va1<0;
Va4:=Va3 AND CROSS(Va1,Va2);
s:IF(COUNT(var4,5)=1 and va4=1 or COUNT(va4,5)=1 and var4=1,0.5,2),linethick2;
Va5:=Va1>0;
Va6:=Va5 AND CROSS(Va2,Va1);
s1:IF(COUNT(var6,3)>0 and va6,3,2),linethick2;
s2:=IF(var4,1,0);
s3:IF(va4,0.5,-1),linethick2;
s4:=IF(var6,3,4);
s5:IF(va6,3,5),linethick2;
DRAWTEXT(s1=3 and s5=3,3,’转向!!!’),colorred;
DRAWTEXT(s=0.5 and s3=0.5,0.5,’变盘!!!’),coloryellow;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)