股票dmi是什么意思
怪猫厂厂长
2024-12-03 07:21:21
最佳回答
dmi是件中向指标mtr:=sum(max(max(high-low,abs(high-ref(close,1))),abs(ref(close,1)-low)),n);hd :=high-ref(high,1);ld :=ref(low,1)-low;dmp:=sum(if(hd>0&&hd>ld,hd,0),n);dmm:=sum(if(ld>0&&ld>hd,ld,0),n);pdi: dmp*100/mtr;mdi: dmm*100/mtr;adx: ma(abs(mdi-pdi)/(mdi+pdi)*100,m);adxr:(adx+ref(adx,m))/2; 20210311