Discussion of article "Library for easy and quick development of MetaTrader programs (part V): Classes and collection of trading events, sending events to the program" - page 2

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
Please edit your post and
use the code button (Alt+S) when pasting code
There may be more than one lost order
OK, but the function is still returning just one of the lost orders, that which is closest to zero.
In this case, wouldn’t be the same iterating from 0 to start-1 with a break?
I know that it is just a detail, but I thought this could be a little improvement, especially in case of a too big history of orders.
OK, but the function is still returning just one of the lost orders, that which is closest to zero.
In this case, wouldn’t be the same iterating from 0 to start-1 with a break?
I know that it is just a detail, but I thought this could be a little improvement, especially in case of a too big history of orders.
Ok, thanks, I'll check and test everything.
It may well be that "break" will come in handy.