Where is your code, Dude ?
Can't be used this way....
If there are more then one trades to close it will fail.
It is trieing to close all the trading pairs at prices for the symbol the EA is attached
Counting up in a loop where you delete or close orders will mean you miss some of the orders . . .
for(int i=1; i<=OrdersTotal(); i++) // Cycle searching in orders
More info here: Loops and Closing or Deleting Orders
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Wipeout:
Author: Tonny Obare