Forum

Confused about the selection of my orders, How do you achieve partial close orders?

I use MQL4 to have a partial close of all of my orders, But I can't achieve the goal, it seemed only half of my orders will be executed and nothing happened to the other half. I want to why is it and how to achieve my partial-close-all purpose? My code is below: int total=OrdersTotal(); for(int