MA5:MA(CLOSE,5)/MA(CLOSE,60)*10;
MA15:MA(CLOSE,15)/MA(CLOSE,60)*10;
MA9:9;
MA11:11.5;
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA1:=MA10<MA20;
{BIAS乖离率买卖提示}
MA底:=MA(CLOSE,5)/MA(CLOSE,60)*10;
MA选BUY:=CROSS(MA5,MA15) AND MA5<MA9;
MA选SELL:=CROSS(MA15,MA5);
DRAW3:DRAWTEXT(MA选BUY,MA5*1.05,'乖离率BUY');
DRAW4:DRAWTEXT(MA选SELL,MA5*0.95,'乖离率SELL');