MA5:EMA(CLOSE,5),COLORWHITE;
MA10:EMA(CLOSE,10),COLORYELLOW;
MA20:EMA(CLOSE,20),COLORFF00FF;
MA30:EMA(CLOSE,30),COLOR00FF00;
MA60:EMA(C,60),COLOR888888;
月價(jià)托:=MA5>MA20 AND MA5>MA10 AND CROSS(MA10,MA20);
季價(jià)托:=MA20>MA60 AND MA20>MA30 AND CROSS(MA30,MA60);
短長價(jià)托:=MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60);
DRAWTEXT(月價(jià)托,L-0.10,'月價(jià)托');
DRAWTEXT(季價(jià)托,L-0.10,'季價(jià)托');
DRAWTEXT(短長價(jià)托,L-0.10,'短長價(jià)托');
VOL5:=MA(VOL,5);
VOL10:=MA(VOL,10);
VOL20:=MA(VOL,20);
量托:=VOL5>=VOL20 AND CROSS(VOL10,VOL20) AND REF(VOL10,1)<REF(VOL20,1);
DRAWTEXT(量托,H+0.10,'量托');