ใครมี Facebook ก็สามารถ add มาคุยกับ admin ได้แล้วนะครับ
for(int i=0;i<OrdersTotal();i++){ OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if( OrderMagicNumber() != Magic ) continue; if( OrderSymbol()==Symbol() ) { int type = OrderType(); bool result = false; switch(type) { case OP_BUY : result = OrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_BID),3,Pink); break; case OP_SELL : result = OrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_ASK),3,Pink); break; case OP_BUYLIMIT : result = OrderDelete(OrderTicket()); break; case OP_SELLLIMIT : result = OrderDelete(OrderTicket()); break; case OP_BUYSTOP : result = OrderDelete(OrderTicket()); break; case OP_SELLSTOP : result = OrderDelete(OrderTicket()); break; } } }}