飞狐DMICD指标公式

2023-03-26 05:01发布

input:p(14,2,100),m(6,1,100);TRr := SUM(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),P);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),P);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),P);:= DMP*100/TRr;:= DMM*100/TRr;0,colorgreen;//20,colorred;//-20,colorred;ADX6: MA((pdi-mdi)/(MDI+PDI)*100,m),colorwhite,linethick1;{ Gupang.com 股-旁-网_公式}ADX12: MA((pdi-mdi)/(MDI+PDI)*100,m*2),coloryellow,linethick1;ADX26:= MA((pdi-mdi)/(MDI+PDI)*100,m*2.5),colorcyan,linethick1;
 解锁全文需 1  财富值,免费注册即送20财富值!