求高手将此通达信指标转成博易**可以用指标 谢谢!博易**指标

大玲子 2024-05-26 13:08:51
最佳回答
mtr:=ema(max(max(high-low,abs(high-ref(close,1))),abs(ref(close,1)-low)),14);hd :=high-ref(high,1);ld :=ref(low,1)-low;dmp:=ema(if(hd>0 and hd>ld,hd,0),14);dmm:=ema(if(ld>0 and ld>hd,ld,0),14);pdi:=dmp*100/mtr;mdi:=dmm*100/mtr;dm:=pdi-mdi;trr1:=ema(max(max(h-l,abs(h-ref(c,1))),abs(ref(c,1)-l)),14);dmp1:=ema(if(hd>0 and hd>ld,hd,0),14);dmm1:=ema(if(ld>0 and ld>hd,ld,0),14);adx0:=ema((dmp1-dmm1)/(dmp1+dmm1)*100,6);adxr0:=ema(adx0,6);pdi1:=dmp1/trr1*100;mdi1:=dmm1/trr1*100;dm1:=pdi1-mdi1;aaj:=(3*adx0-2*adxr0);maad:=(adx0-adxr0);adx:=ema(abs(mdi-pdi)/(mdi+pdi)*100,6),colorff00ff; adxr:ema(adx,6),pointdot,linethick7,coloryellow;drawicon(dm>0 and adx>adxr and adx>20,adxr,15);drawicon(dm<0 and adx>adxr and adx>20,adxr,12);drawicon(cross(adxr0,adx0) and adxr0>60 ,adxr*1.2,8);drawicon(cross(adxr0,adx0) and adxr0<60 ,adxr*1.4,2);20,coloryellow,pointdot;60,colorgreen,pointdot; {测试通过,满意请采纳,有问题请追问} 20210311
汇率兑换计算器

类似问答
汇率兑换计算器

热门推荐
热门问答
最新问答
推荐问答
新手帮助
常见问题
房贷计算器-九子财经 | 备案号: 桂ICP备19010581号-1 商务联系 企鹅:2790-680461

特别声明:本网为公益网站,人人都可发布,所有内容为会员自行上传发布",本站不承担任何法律责任,如内容有该作者著作权或违规内容,请联系我们清空删除。