短线bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
长线ebbi:=(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4;
买入:crOSS(短线BBI,长线EBBI);
短线bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
长线ebbi:=(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4;
买入:crOSS(短线BBI,长线EBBI);