DIF:=EMA(CLOSE,5)-EMA(CLOSE,15);

DEA:=EMA(DIF,5);

BBI1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

XG:DIF>DEA AND CROSS(C,BBI1)AND TIME<=0935;