add someting like this
int ticket; ticket = OrderSend(.....); if (ticket > -1) { //go to the second }
also u can check
if (IsTradeAllowed())
for error 130
Thank You for the speedy reply, will give it a go.
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
This is my first ever EA, Im getting alot of 130,129 and 4107 errors. Im trying to put in 12 orders at a specified time. I tried some really basic code but I dont think the server can handle it, keeps saying "Trade Context Busy". Is there a better way to put this many trades in at once ? Or putting them in one at a time as quickly as pos ?
Would really appreciate any ideas.
MW