推荐回答:
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; {测试通过,满意请采纳,有问题请追问}
广告合作商务QQ: 6391-670-971
2023年最新贷款计算器,采用2023年最新房贷基准利率,房贷利率表,提供贷款、商业贷款、公积金买房、个人按揭月供购房等银行房贷利率计算公式在线使用,2023年最好用的房贷计算器,房贷利息计算专家。