源码
NOTEXTMA5:MA(CLOSE, 5),LINETHICK3;
NOTEXTMA10:MA(CLOSE, 10),LINETHICK3;
NOTEXT五日:ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416,NODRAW,colorwhite;
NOTEXT十日:ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.1416,NODRAW,colorwhite;
五斜:IF(NOTEXT五日>40,NOTEXTMA5,DRAWNULL),colorred,LINETHICK3;
十斜:IF(NOTEXT十日>30,NOTEXTMA10,DRAWNULL),colorred,LINETHICK3;