请问用dmi一阳穿三线选股时怎样设置参数
dmi穿一阳三线选股设置参数如下:dmi穿一阳三线选股 n:2,14,90 m:2,6,60{ok.通过测试}tr1:=expmema(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:=expmema(if(hd>0&&hd>ld,hd,0),14);dmm:=expmema(if(ld>0&&ld>hd,ld,0),14);pdi:=dmp*100/tr1;mdi:=dmm*100/tr1;adx:=expmema(abs(mdi-pdi)/(mdi+pdi)*100,6);adxr:=expmema(adx,6);买点:(cross(pdi, mdi)and cross(pdi, adx)and cross(pdi, adxr))and close>openand c/ref(c,1)>0.5 and vol>ma(vol,5)*1.5,colorred,linethick3;n和mm分别是参数,需要在参数栏设置。 20210311