Print OrderProfit of last 5 close trade
Hi guys, with my EA I would to know the profit about the 5 last close position, but I have a question.
Why this one works
and this one not?
I cannot understand
Thank you for the support
You say it does not work but not what error(s) you get....
the i=5 is a static value in your loop but there maybe more or less orders than this so you need to adjust it to the number of orders available
then loop through them selecting the ones that you want
Hi guys, with my EA I would to know the profit about the 5 last close position, but I have a question.
Why this one works
and this one not?
I cannot understand
Thank you for the support