Tamal_ / Publications
Forum
Condition for open the order when the order close
Hello everyone, i need a help Sometimes i close orders whole and sometimes i close orders partial. Can anyone to give the condition for the below code because it open a bulk orders against the close order. void OpenClosedOrders() { for( int i=OrdersHistoryTotal()-1;i>=0;i--){