Forum

OrderClose

Can any one explain? the OrderSelect, OrderType and OrderClose functions am I using correctly ? I want to close a trade when the new high comes. if ( OrdersTotal ()> 0 && OrderSelect (ticketBuy, 0 , MODE_TRADES == true ) && OrderType ()== 0 ) { //bool