MA30:MA(CLOSE,30),COLORWHITE,LINETHICK2;
IF(MA30/REF(MA30,1) =1,MA30,DRAWNULL),COLORRED,LINETHICK2;
IF(MA30/REF(MA30,1) 1,MA30,DRAWNULL),COLORGREEN,LINETHICK2;
MA250:MA(CLOSE,250),COLORWHITE,LINETHICK2;
IF(MA250/REF(MA250,1) =1,MA250,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(MA250/REF(MA250,1) 1,MA250,DRAWNULL),COLORCYAN,LINETHICK2;
M均:(MA30+MA250)/2,COLORYELLOW,LINETHICK1;