通达信均线距离角度选股指标公式

MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,30);
MA4:=MA(CLOSE,60);
X1:=IF(MA1>MA2,Abs(MA1-MA2),-ABS(MA1-MA2));
X2:=IF(MA1>MA3,ABS(MA1-MA3),-ABS(MA1-MA3));
X3:=IF(MA3>MA4,ABS(MA3-MA4),-ABS(MA3-MA4));
X4:=IF(MA2>MA3,ABS(MA2-MA3),-ABS(MA2-MA3));
XJL:= X2>REF(X2,1)AND X3>REF(X3,1) AND (X1>REF(X1,1) OR X4>REF(X4,1)) ;
JD1:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
JD2:=ATAN((MA2/REF(MA2,1)-1)*100)*180/3.1416;
JD3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;
JD4:=ATAN((MA4/REF(MA4,1)-1)*100)*180/3.1416;
XJD1:=crOSS(JD1,JD2);
XJD2:=CROSS(JD1,JD3);
XJD3:=CROSS(JD1,JD4);
XJD4:=CROSS(JD2,JD3);
XJD5:=CROSS(JD2,JD4);
XJDS:=JD2>REF(JD2,1) AND JD4>REF(JD4,1) AND JD3>REF(JD3,1) AND JD1>REF(JD1,1) ;
XJDC:=(COUNT(XJD2,3) AND COUNT(XJD3,3)) OR (REF(JD2,1)<REF(JD2,2) AND REF(JD1,1)<REF(JD1,2) AND REF(JD3,1)<REF(JD3,2) AND REF(JD2,2)>REF(JD2,3) AND REF(JD3,2)>REF(JD3,3) AND REF(JD1,2)>REF(JD1,3));
DD:=EMA((C*3+H+L+O)/6,5);
YL:=DD>=REF(DD,1) AND C>DD;
JDJL:FILTER(YL AND XJDS AND XJDC AND XJL AND MA2>=REF(MA2,1) AND C>MA1 AND C>MA3 AND L<MA1,7);




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图