Hello
Is it possible to get the total open orders for a certain pair?
Cheers
Nati
Is it possible to get the total open orders for a certain pair?
Cheers
Nati
Close all open trades if current total open lotsize exceeds"X" 0 replies
script to "close open orders" and "open opposite orders" 3 replies
How do I calculate total profit of all open orders? 9 replies
total value for end of bar total 0 replies
how can I unable EA orders while I have some open orders? 1 reply
int total=OrdersTotal(), count=0, i;
for (i=0; i<total; i++) {
OrderSelect(i, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol() == "USDCHF") {
count++;
}
}
return(count);