datetime New_Time=Time[0];
datetime t1 = (datetime) ObjectGet("1", OBJPROP_TIME1);
if(New_Time==t1 && Open[1]>Close[1] )int sell = OrderSend(Symbol(),OP_BUY,0.1,0,0,Open[0]-3,Open[0]+3);
if(New_Time==t1 && Open[1]<Close[1] )int buy = OrderSend(Symbol(),OP_SELL,0.1,0,0,Open[0]+3,Open[0]-3);
if(OrdersTotal()==1) ObjectDelete("1");
New_Time=Time[0];
datetime t2 = (datetime) ObjectGet("2", OBJPROP_TIME1);
if(New_Time==t1 && Open[1]>Close[1] )int sell = OrderSend(Symbol(),OP_BUY,0.1,0,0,Open[0]-3,Open[0]+3);
if(New_Time==t1 && Open[1]<Close[1] )int buy = OrderSend(Symbol(),OP_SELL,0.1,0,0,Open[0]+3,Open[0]-3);
if(OrdersTotal()==1) ObjectDelete("2");