I'm trying for the first time to access to the DOM bid and ask data from easylanguage.
I made several test with dom_bidscount and similar keyword but I always receive 0 when I try to print them. I also tried to use this sample code:
Code: Select all
var0(0);
if dom_isconnected then
var0 = dom_askprice(0);
print(var0);
I'm asking it because you can only open a DOM for an instruments in your broker list. So how can you obtain those kind of data( dom_bidscount, dom_bidsize etc... ) from the datafeed and not from your broker?
Thanks