How should I use PositionsTotal() to return the number of operations at the symbol (chart) applied and not the total? (MQL5 code)
For several reasons I need you to be as well. I don’t want the total, as I do not wish to take into account manual trades in other symbols.
Thank you in advance.
int total=PositionsTotal(); int b=0,s=0,n=0; for(int i=total-1; i>=0; i--)