I,m suppose that is simply problem.
i want to know what is number of each trade, but no ticket.
it should be counter of trades.
turn on ea - countersell,counterbuy=0
first sell trade was open - countersell=1
second sell trade countersell=2
first buy counterbuy=1
turn of ea
how to code this?