对好多新股民来说,对买什么票何时卖出比较关心,现共享一个简单的画线公式。当短期均线变成红色的时候,可以考虑买入,否则卖出观望,等下一次机会来临。
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA30:MA(CLOSE,30),COLORGREEN;
MA60:MA(CLOSE,60),COLORRED,LINETHICK1;
MA120:MA(CLOSE,120),COLORLIRED;
MA250:MA(CLOSE,250),COLORCYAN;
IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK2;
IF(MA10>REF(MA10,1),MA10,DRAWNULL),COLORRED,LINETHICK2;
IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
IF(MA30>REF(MA30,1),MA30,DRAWNULL),COLORRED,LINETHICK2;