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
Why I can't see the volume of the Market Depth on the table window?
Thank you.
Hi, PCWalker, I don't know which code you're using, however, if you're trying to get the best bid & ask volumes, you could try this code:
I hope it helps.
Hi, PCWalker, I don't know which code you're using, however, if you're trying to get the best bid & ask volumes, you could try this code:
I hope it helps.
And this will add the volume to the Depth Market window?
This will retrieve the volumes. If you're not able to see the volume when you open the DOM, then it's highly probable that your broker doesn't provide this information.
So, I would need to insert the code where exactly?
So, I would need to insert the code where exactly?
Inside any indicator or expert advisor. However, if your interest is only to "see" the volumes, then it depends on your broker to provide this information.
Hi, PCWalker, I don't know which code you're using, however, if you're trying to get the best bid & ask volumes, you could try this code:
I hope it helps.
When I run the EA, I get a single line. I expected an ARRAY of values, showing the entire 'book'. I'm using "A..." broker, so I'm seeing many levels, each with it's own volume.
Am I missing something? The code appears to me to be ARRAY based and the 'i' variable I would think would produce multiple lines in the Experts tab representing ALL the 'DOM' levels FOR EACH TICK,
not just one per tick.
Any thoughts?
Thanks,
Merlin
When I run the EA, I get a single line. I expected an ARRAY of values, showing the entire 'book'. I'm using "A..." broker, so I'm seeing many levels, each with it's own volume.
Am I missing something? The code appears to me to be ARRAY based and the 'i' variable I would think would produce multiple lines in the Experts tab representing ALL the 'DOM' levels FOR EACH TICK,
not just one per tick.
Any thoughts?
Thanks,
Merlin
Hi Merlin,
Hi MC,
I was just using, and referring to, the EA code on Page 1 of this thread. I hate re-inventing the wheel ;)
Hi MC,
I was just using, and referring to, the EA code on Page 1 of this thread. I hate re-inventing the wheel ;)