M1:=5;M2:=10;M3:=20;M4:=60; MA1:MA(CLOSE,M1),COLORRED; MA2:MA(CLOSE,M2),COLORRED; MA3:MA(CLOSE,M3),COLORRED; MA4:MA(CLOSE,M4),COLORRED; IF(MA1<REF(MA1,1),MA1,DRAWNULL),COLORGREEN; IF(MA2<REF(MA2,1),MA2,DRAWNULL),COLORGREEN; IF(MA3<REF(MA3,1),MA3,DRAWNULL),COLORGREEN; IF(MA4<REF(MA4,1),MA4,DRAWNULL),COLORGREEN; 通達(dá)信5102060紅色均線多空主圖指標(biāo)公式實例圖解:
|