Hey, I've been searching for a long time how to get the current volume of a Symbol (not an order) and I just can't find anything that works.
For example, I want to get the real volume of this symbol below (real volume would be 2500). How can I get that on MQL5?
Is this what you want ?
I tried to use this but it didn't give me the right volume. In the example below, the volume should be: 46700 to sell and 38900 to buy (or 85600 in total), and as you can see, it says 28300...
PS* if there's a way to get only the buy volume and only the sell volume it would be even better, I tried SYMBOL_SESSION_BUY_ORDERS_VOLUME but it returns zero
Of course that's not the same.
To get the depth of market volume you need to use MarketBookGet() and make the addition yourself, I don't think there is a way to get it directly.