How access to DOM bid and ask data from easylanguage and DTN IQFEED

Questions about MultiCharts and user contributed studies.
dvdkite
Posts: 26
Joined: 16 May 2018
Has thanked: 5 times

How access to DOM bid and ask data from easylanguage and DTN IQFEED

Postby dvdkite » 28 Sep 2018

Hello everyone,

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);
and it always give me 0.0. Obviously it is not connected to the DOM. I actually have DTN IQFEED as datafeed, should I be able to access to all book B/A data?
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

User avatar
ABC
Posts: 626
Joined: 16 Dec 2006
Has thanked: 119 times
Been thanked: 355 times
Contact:

Re: How access to DOM bid and ask data from easylanguage and DTN IQFEED

Postby ABC » 01 Oct 2018

David,

unfortunately DOM data is only available for broker feeds and therefore you can't access the values using IQFeed.

Regards,

ABC


Return to “MultiCharts”