通信达公式破解 通达信夹角形成上下通道副图公式源码 www.beexiaomifeng.com小编为您提供
SHORT:=6;
LONG:=13;
MID:=4;
VAR1:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
VAR2:=EMA(VAR1,MID);
VAR3:=2*(VAR1-VAR2);
VAR4:=IF(VAR3>0,1,(-1));
VAR5:=REF(VAR4,1);
VAR6:=VAR4*VAR5;
VAR7:=BARSLAST(VAR6<0);
VAR8:=VAR7+1;
VAR9:=(SUM(VAR3,0)-REF(SUM(VAR3,0),VAR8))/10;
VAR10:=IF(VAR3>0 AND VAR3>=REF(VAR3,1),VAR3,0);
VAR11:=IF(VAR3>0 AND VAR3<=REF(VAR3,1),VAR3,0);
VAR18:=REF(CLOSE,VAR17+1)>CLOSE AND VAR1>REF(VAR1,VAR17+1) AND CROSS(VAR1,VAR2);
底背:DRAWLINE(VAR17=0,VAR2,VAR18,VAR2,0),COLORMAGENTA,LINETHICK2;
DRAWICON(VAR18,VAR2*1.22,38);
VAR19:=BARSLAST(REF(CROSS(VAR2,VAR1),1));
VAR20:=REF(CLOSE,VAR19+1)
顶背:DRAWLINE(VAR19=0,VAR2,VAR20,VAR2,0),COLORGREEN,LINETHICK2;
DRAWICON(VAR20,VAR2*1.02,2);
DRAWICON(VAR14 AND VAR16 AND VAR18,VAR2*1.32,9);
VAR21:=ATAN((VAR1/REF(VAR1,1)-1)*100)*180/3.141159;
VAR22:=ATAN((VAR2/REF(VAR2,1)-1)*100)*180/3.141159;
VAR23:=VAR1>REF(VAR1,1) AND REF(VAR1,1)>REF(VAR1,2) AND REF(VAR1,3)
VAR24:=VAR2>REF(VAR2,1) AND REF(VAR2,1)>REF(VAR2,2) AND REF(VAR2,3)
夹角:VAR21-VAR22>=30 AND VAR23 AND VAR24,NODRAW,COLORGREEN;
?
更多股票公式相关资讯请关注www.beexiaomifeng.com
?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!