第一种:
MA5:MA(CLOSE,5),DOTLINE,COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA30:MA(CLOSE,30),COLORBLUE;
MA60:MA(CLOSE,60),COLORRED,DOTLINE,LINETHICK1;
MA120:MA(CLOSE,120),COLORGREEN;
MA250:MA(CLOSE,250),COLORMAGENTA,DOTLINE,LINETHICK1;
IF(MA60>REF(MA60,1),MA60,DRAWNULL),COLORRED,LINETHICK2;
TQ1:(ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.14115926)NODRAW,COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND TQ1,0.0,0,0,'【十日线角度】'),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND TQ1,0.08,0,0,TQ1),COLORWHITE;
第二种
MA5:MA(CLOSE,5),DOTLINE,COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA30:MA(CLOSE,30),COLORBLUE;
MA60:MA(CLOSE,60),COLORRED,DOTLINE,LINETHICK1;
MA120:MA(CLOSE,120),COLORGREEN;
MA250:MA(CLOSE,250),COLORMAGENTA,DOTLINE,LINETHICK1;
IF(MA60>REF(MA60,1),MA60,DRAWNULL),COLORRED,LINETHICK2;
十日线角度:(ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.14115926),NODRAW,COLORWHITE;