通达信均线角度公式

[复制链接]
查看30 | 回复0 | 2022-7-24 07:15:37 | 显示全部楼层 |阅读模式

JD1:=ATAN((EMA(C,N1)/REF(EMA(C,N1),1)-1)*100)*180/3.1816;
 JD2:=ATAN((EMA(C,N2)/REF(EMA(C,N2),1)-1)*100)*180/3.1816;
 JD3:ATAN((EMA(C,N3)/REF(EMA(C,N3),1)-1)*100)*180/3.1816,SETSTYLECOLOR(LINETHICK2,RGB(192,192,192));
 JD4:=ATAN((EMA(C,N4)/REF(EMA(C,N4),1)-1)*100)*180/3.1816;
 STICK(JD1>=0,0,JD1,3,COLORRED,1);
 STICK(JD1<=0,0,JD1,3,COLORGREEN,1);
 STICK(JD2>=0,0,JD2,0.5,COLORYELLOW,0);
 STICK(JD2<=0,0,JD2,0.5,COLORCYAN,0);
 STICK(JD4>=0,-3.5,-4,2,COLORRED,1);
 STICK(JD4<=0,-3.5,-4,2,COLORBLUE,1);
 
 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则