1468714724: I'm having a problem closing all of my orders at one time. |
|

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
Hi guys. I'm having a problem closing all of my orders at one time. I am opening up a position that is either long EU and short GU or short EU and long GU when there is a pip difference at different level. I am opening up to 12 order total, 6 each. When the pais converge I want all of these orders to close. This only happens sometimes. Other times I am left with 2 orders of GU still open. The if(result = 0)..Alert("problem closing orders: ",GetLastError()); does not come up however. I don't understand why it only works sometimes.
//--- order closing script