MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA5:MA(CLOSE,120);
MA6:MA(CLOSE,240);
DRAWTEXT(COUNT(MA1>=REF(MA1,1),20)<3 AND MA1>=REF(MA1,1),L,'短线进货'),COLORMAGENTA;
DRAWTEXT(COUNT(MA3>=REF(MA3,1),20)<3 AND MA3>=REF(MA3,1),L,'中线进货'),COLORMAGENTA;
DRAWTEXT(COUNT(MA4>=REF(MA4,1),20)<3 AND MA4>=REF(MA4,1),L,'长线进货'),COLORMAGENTA;