【股票入门与技巧】【通达信】PDI指标公式
MTR:=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>0HD>LD,HD,0),14); DMM:=EXPMEMA(IF(LD>0LD>HD,LD,0),14); P...
MTR:=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>0HD>LD,HD,0),14); DMM:=EXPMEMA(IF(LD>0LD>HD,LD,0),14); P...