1.请问 通达信的指指标08梦幻风云源码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;
2024-11-26 10:23
2024-11-26 10:02
2024-11-26 09:16
2024-11-26 09:10
2024-11-26 09:04
2024-11-26 08:53