close order that has no TP
Created at 10 Mar 2017, 17:11
close order that has no TP
10 Mar 2017, 17:11
i use the code to close ALL positions
result = OrderClose(OrderTicket(), OrderLots(), MarketInfo(OrderSymbol(), MODE_ASK), Slippage, Pink);
how can i change this to close only positions that have no TP set ?