If I'm not mistaken, you should be able to see bid/ask volume via market depth. But how do I get the bid volume and ask volume from MQL code?
Nimoonphob noobiris: If I'm not mistaken, you should be able to see bid/ask volume via market depth. But how do I get the bid volume and ask volume from MQL code?
By using the SymbolInfoTick functin you can obtain MqlTick information, which includes volume, paying careful attention to the flags.
You can also obtain MqlBookInfo information with the MarketBookGet function, and react to OnBookEvent() events subscribed to with MarketBookAdd().
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register