通达信四项一致指标公式
2020/3/13 18:37:55
TR1:=MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)));
DMZ:=IF((H+L)<=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1))));
DMF:=IF((H+L)>=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1))));
DDZ:=SUM(DMZ,13)/(SUM(DMZ,13)+SUM(DMF,13));
DDF:=SUM(DMF,13)/(SUM(DMF,13)+SUM(DMZ,13));
{投股票网-股票公式网站 www.tou18.cn}
ZX:DDZ-DDF,COLORSTICK;
MZX:=SMA(ZX,30,10);
AD:=MA(MZX,30);
KX:EMA(C,7)-EMA(C,19),COLORWHITE;
MX:=EMA(KX,9);
DX:2*(KX-MX),COLORCYAN;
XC:DX-KX,COLORGREEN;
DRAWICON(CROSS(XC,KX),XC,39);
DRAWICON(CROSS(DX,KX),KX,38);
投股票 网 www.tou18.c n
股市公式下载推荐