全网粉丝在找的DMI付图N:=42;m:=72;QR:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SMA(IF(HD0 AND HDLD,HD,0),N,1);DMM:= SMA(IF(LD0 AND LDHD,LD,0),N,1);PDI: DMP*100/QR;MDI: DMM*100/QR