N1:=5;N2:=30;M:=6;0,COLORYELLOW;MD:=SUM(*(2*C-H-L)/(H+L),0);CM1:=MA(MD,N1);CM2:=MA(MD,N2);{ _通达信公式}MMD:(CM1-CM2)*0.01,COLORWHITE;IF(MMD>0,MMD,DRAWNULL),COLORRED;IF(MMD<0,MMD,DRAWNULL),COLORGREEN;MHO:MA(MMD,M),COLORCYAN;DRAWICON(OSS(MMD,MACHO),MMD,17);