M1:=3;
M2:=5;
M3:=10;
M4:=20;
ma(CLOSE,3),LINETHICK3,COLORBLUE;
MA(CLOSE,5),LINETHICK3,COLORWHITE;
MA(CLOSE,10),LINETHICK3,COLORCYAN;
MA(CLOSE,20),LINETHICK2,COLORLIGREEN;
MA(CLOSE,30),LINETHICK2,COLORRED;
MA(CLOSE,40),LINETHICK2,COLORMAGENTA;
MA(CLOSE,50),LINETHICK1,COLORGRAY;
MA(CLOSE,60),LINETHICK1,COLORBLACK;
MA(CLOSE,70),LINETHICK1,COLORBROWN;
MA(CLOSE,80),LINETHICK1,COLORBLUE;
MA(CLOSE,90),LINETHICK1,COLORWHITE;
MA(CLOSE,100),LINETHICK1,COLORCYAN;
MA(CLOSE,110),LINETHICK1,COLORLIGREEN;
MA(CLOSE,120),LINETHICK1,COLORRED;
MA(CLOSE,130),LINETHICK1,COLORMAGENTA;
MA(CLOSE,140),LINETHICK1,COLORGRAY;
MA(CLOSE,150),LINETHICK1,COLORBLACK;
MA(CLOSE,160),LINETHICK1,COLORBROWN;
MA(CLOSE,170),LINETHICK1,COLORBLUE;
MA(CLOSE,180),LINETHICK1,COLORWHITE;
MA(CLOSE,190),LINETHICK1,COLORCYAN;
MA(CLOSE,200),LINETHICK1,COLORLIGREEN;
MA(CLOSE,210),LINETHICK1,COLORRED;
MA(CLOSE,220),LINETHICK1,COLORMAGENTA;
MA(CLOSE,230),LINETHICK1,COLORGRAY;
MA(CLOSE,240),LINETHICK1,COLORBLACK;
MA(CLOSE,250),LINETHICK1,COLORBROWN;
MA(CLOSE,260),LINETHICK1,COLORBLUE;
MA(CLOSE,270),LINETHICK1,COLORWHITE;
MA(CLOSE,280),LINETHICK1,COLORCYAN;
MA(CLOSE,290),LINETHICK1,COLORLIGREEN;
MA(CLOSE,300),LINETHICK1,COLORRED;
MA(CLOSE,310),LINETHICK1,COLORMAGENTA;
MA(CLOSE,320),LINETHICK1,COLORGRAY;
MA(CLOSE,330),LINETHICK1,COLORBLACK;
MA(CLOSE,340),LINETHICK1,COLORBROWN;
MA(CLOSE,350),LINETHICK1,COLORBLUE;
MA(CLOSE,360),LINETHICK3,COLORWHITE;
MA(CLOSE,370),LINETHICK3,COLORCYAN;
牛熊线:ema(C,250),CIRCLEDOT,COLOR00FFFF;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
;