I have this small problem. I have created an EA that closes all open trades when it hits a certain profit or loss and it is working fine but when i opened 200 trades then activate it when it hits 2000 profit, it only closes by batch but not all using this code.
do you have any best solution for this one?
It's been mentioned so many times on this forum already
COUNT DOWN WHEN CLOSING ORDERS
I expect WHRoedor will be along with a link that will explain why soon.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.