通达信DMI变形精确买卖点指标公式

2024-03-09 07:58发布

MTR:=EMA(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),13);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),13);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),13);PDI:=DMP*100/MTR;:=DMM*100/MTR;D:=PDI-22;K:=MDI-22;A:=D-K;STICKLINE(A>0 ,D,K,0,-1),COLORRED;STICKLINE(A<=0,K,D,0,-1),COLORCYAN;多:D,COLORWHITE;空:K,COLORYELLOW;ADX:EXPMEMA((PDI-MDI)/(MDI+PDI)*100,3),COLORMAGENTA;ADXR:EXPMEMA(ADX,5),COLORGREEN;:EMA(ADX,13),DOTLINE,COLORGRAY;
 解锁全文需 1  财富值,免费注册即送20财富值!