Is it possible for the OrderDelete to fail?
...Yes
What does it mean?
...Failed to delete
How would you handle the problem with code?
...Resend the delete request
Is it possible for the OrderDelete to fail?
...Yes
What does it mean?
...Failed to delete
How would you handle the problem with code?
...Resend the delete request
Clear and succinct. Thank you.
Someone wrote a library for order handling ...
http://www.forexmt4.com/mt_yahoo/LibOrderReliable_v1_1_3.mq4
Someone wrote a library for order handling ...
http://www.forexmt4.com/mt_yahoo/LibOrderReliable_v1_1_3.mq4
I've been aware of that Library for a while, but have not incorporated it into any of my EA's...
Although you are mentioning it, I'm not sure if that is also an endorsement...
Have/are you using it?
Has it worked well, or increased the reliability of your orders?
I would love to hear your comments!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
The code int myTicket = OrderSend(..., ...) provides the ticket number for the order. Assume that the ticket number is then stored locally (in an array, or a global variable, or whatever). Then suppose the following code OrderDelete(myTicket).
Is it possible for the OrderDelete to fail? What does it mean, and how would you handle the problem with code?