【小程序源码浏览】【雪人切片源码】【dagger 2的源码】ddi指标源码_ddx指标源码
2024-11-26 11:56:05 来源:{typename type="name"/} 分类:{typename type="name"/}
1.请问 通达信的指指标小程序源码浏览ddi指标源码
请问 通达信的ddi指标源码
N:=;N1:=;M:=;M1:=5;TR1:=MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)));
DMZ:=IF((H+L)<=(REF(H,1)+REF(L,1)),0,TR);
DMF:=IF((H+L)>=(REF(H,1)+REF(L,1)),0,TR);
DIZ:=SUM(DMZ,N)/(SUM(DMZ,N)+SUM(DMF,N));
DIF:=SUM(DMF,N)/(SUM(DMF,N)+SUM(DMZ,N));
DDI:DIZ-DIF,COLORSTICK,LINETHICK3;
ADDI:SMA(DDI,N1,M),COLORWHITE,LINETHICK1;
AD:MA(ADDI,M1),COLORYELLOW,LINETHICK1;