
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
okey okey I changed the code and inserted it. Please check it? Is it correct? Now it leaves the most old position?
No. There is no guarantee the last (or first depending in which direction you are "looking") index would be the oldest position.
okey how to change the code for correct solution?
okey how to change the code for correct solution?
Check the date/time of all the positions, record the ticket of the oldest one. Then exclude this ticket from the positions to close.
pls help me. I am very newbie in Mql5. Checking date/time, recording ticket is very hard to me. Pls
pls help me. I am very newbie in Mql5. Checking date/time, recording ticket is very hard to me. Pls
Please help you yourself.
Please help you yourself.
okey okey pls give me example of checking date/time, recording ticket and exclude ticket which is oldest.
okey okey pls give me example of checking date/time, recording ticket and exclude ticket which is oldest.
Quickstart for newbies: https://www.mql5.com/en/articles/496
and: https://www.mql5.com/en/articles/100
cookbook: https://www.mql5.com/en/search#!keyword=cookbook
or https://www.mql5.com/en/search#!keyword=Tips%20from%20a%20professional%20programmer&module=mql5_module_articles