There is a pending order that becomes a position. Under certain conditions, I need to mark some positions(hedging account).
The question arises: is it possible to change the comment for each position(I can’t do it)?
What do you recommend? If you remember tickets, then you need to create an array of the size of which will not be known, since the number of such positions is not known in advance, which I do not like.
The code in MQL5.