Use MarketBookGet to get the info which gives you an array of MqlBookInfo structures, find your price you will get your volume.
See the example in first link.
Enrique Dangeroux:
Thank You! Another concern is If I open the depth of market of one symbol in OnInit can I leave it opened since I'll only work with one dom?
Use MarketBookGet to get the info which gives you an array of MqlBookInfo structures, find your price you will get your volume.
See the example in first link.
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
Hi, i´m trying to get the volume in the DOM at an open position price. I'm quite new to MQL5 and could not find a way to just get the volume of that specific price.
Any idea would be very welcome
thank You