yes, 0 is very latest traid.
1 is traid before 0,
2 is traid before 1,
etc ...
1 is traid before 0,
2 is traid before 1,
etc ...
yes, 0 is very latest traid.
1 is traid before 0,
2 is traid before 1,
etc ...
1 is traid before 0,
2 is traid before 1,
etc ...
No, I think this is wrong: it depends of the sorted column of the history panel or the trade panel for the opened orders.
To find the last closed order you have to loop thru the whole collection and compare the close time.
Idem to find the last opened one, but here you can also compare the ticket number.
No, I think this is wrong: it depends of the sorted column of the history panel or the trade panel for the opened orders.
To find the last closed order you have to loop thru the whole collection and compare the close time.
Idem to find the last opened one, but here you can also compare the ticket number.
Yes, you are right.
It SHOULD be the way Jane said; depending on the order of the panel causes instability to the logic of the program.
It SHOULD be the way Jane said; depending on the order of the panel causes instability to the logic of the program.
It's always better to loop thru the collection, but to be totally clean, we should have the ability to lock it during the loop.

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
When selecting the trades from the history pool by position, are these trades returned in any specific order?
What do the position numbers 0, 1, 2 ..., mean in this case?
Can we say that trade with position 0 in the history pool is the last closed trade?
Best regards,
Levente