通达信DMI2指标公式

2023-07-22 05:58发布

L60:60,COLORGREEN,POINTDOT;0:20,COLORGRAY;L30:30,COLORGRAY,DOTLINE;N:=14;MM:=4;{可以自行修改,通达信里面的是6}{}TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0 TOTAL,MTIME);:=IF(CURRBARSCOUNT CTIME,DRAWNULL);量1:=预测>=REF(V,1) OR V>=REF(V,1);MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,
 解锁全文需 1  财富值,免费注册即送20财富值!