Can´t get active positions count on mql5
Add initialization before for loop:
TotalBuy=0; TotalSell=0;
Amir Yacoby:
Already done... i don'd get why is conting by ticks and not by each position...
Add initialization before for loop:
Amir Yacoby:
Add initialization before for loop:
OK SOLVED. Thx there was another line in the middle thats why!!!! You helped me!!! THX
I can´t get te number of active positions. It counts +1 for every tick while position is open. How can i do it?
Please. Thanks a lot.