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分別是引數,需要在引數欄設定。
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分別是引數,需要在引數欄設定。