DOM indicator for chart  [SOLVED]

Questions about MultiCharts and user contributed studies.
ObiWan
Posts: 3
Joined: 11 Aug 2012

DOM indicator for chart

Postby ObiWan » 11 Aug 2012

Is there available an indicator which graphically shows the total size in the visible book on the chart?

Thanks
ObiWan

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 558 times

Re: DOM indicator for chart

Postby Andrew MultiCharts » 14 Aug 2012

ObiWan wrote:Is there available an indicator which graphically shows the total size in the visible book on the chart?

Thanks
ObiWan

There is a prebuilt indicator in current version of MultiCharts that is called "--- Market Depth on Chart ---". I believe if you change its script, you will be able to see total values on chart; or you can use it as an example to write your own indicator.

ObiWan
Posts: 3
Joined: 11 Aug 2012

Re: DOM indicator for chart

Postby ObiWan » 14 Aug 2012

Hi Andrew,
Thanks.

I don't see listed as an indicator on latest MC of MC64.
Do you see it?
IS it called something else maybe?

sptrader
Posts: 710
Joined: 09 Apr 2010
Location: Colorado
Has thanked: 468 times
Been thanked: 261 times
Contact:

Re: DOM indicator for chart

Postby sptrader » 14 Aug 2012

ObiWan wrote:Hi Andrew,
Thanks.

I don't see listed as an indicator on latest MC of MC64.
Do you see it?
IS it called something else maybe?

******************************************
** It's near the top of the list of indicators..top 20 or so.

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 558 times

Re: DOM indicator for chart

Postby Andrew MultiCharts » 14 Aug 2012

ObiWan wrote:Hi Andrew,
Thanks.

I don't see listed as an indicator on latest MC of MC64.
Do you see it?
IS it called something else maybe?


It should be there, right on top in the list of indicators. Please make sure that you have latest MultiCharts build: 5620 (32 bit) or 5622 (64 bit)
Attachments
market_depth_on_Chart_MultiCharts8.png
market_depth_on_Chart_MultiCharts8.png (137.92 KiB) Viewed 1381 times

ObiWan
Posts: 3
Joined: 11 Aug 2012

Re: DOM indicator for chart

Postby ObiWan » 14 Aug 2012

Yep there it is. Didn;t see it at first as listed at top.

Very cool.

Thanks Andrew!

User avatar
virginiatrader
Posts: 79
Joined: 05 May 2007
Location: Virginia
Has thanked: 5 times
Been thanked: 5 times

Re: DOM indicator for chart

Postby virginiatrader » 16 Aug 2012

A great indicator! I would like to see a "total bid" below the lowest bid displayed, in a color other than red and blue, and a "total offered" above the highest bid displayed, also in a color other than red and blue.

Not sure how to modify the code...any thoughts?

virginiatrader

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 558 times

Re: DOM indicator for chart

Postby Andrew MultiCharts » 16 Aug 2012

virginiatrader wrote:A great indicator! I would like to see a "total bid" below the lowest bid displayed, in a color other than red and blue, and a "total offered" above the highest bid displayed, also in a color other than red and blue.

Not sure how to modify the code...any thoughts?

virginiatrader

You can plot the total value as text. Here is example hot to get total bid value:

Code: Select all

value2 = 0;
for value1 = 0 to dom_bidscount - 1 begin
value2 = value2 + dom_bidprice(value1);
   draw_DOM_level(
      dom_bidprice(value1), dom_bidsize(value1), value1, value11,
      gradientcolor( value1, 0, 10, RGB(0,0,255), RGB(0,0,80) ),
      dom_bidscount - 1 = value1
   );
end;

sptrader
Posts: 710
Joined: 09 Apr 2010
Location: Colorado
Has thanked: 468 times
Been thanked: 261 times
Contact:

Re: DOM indicator for chart

Postby sptrader » 16 Aug 2012

This seems like a stupid question- but I have applied the market depth on chart study to my chart but I don't get anything...what am I doing wrong ? MC 64 bit build 5622
Attachments
Market depth-no plot.png
Market depth-no plot.png (59.76 KiB) Viewed 1362 times

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 558 times

Re: DOM indicator for chart

Postby Andrew MultiCharts » 16 Aug 2012

sptrader wrote:This seems like a stupid question- but I have applied the market depth on chart study to my chart but I don't get anything...what am I doing wrong ? MC 64 bit build 5622

Is the data source IQFeed?

User avatar
TJ
Posts: 7158
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 988 times
Been thanked: 2042 times

Re: DOM indicator for chart

Postby TJ » 16 Aug 2012

sptrader wrote:This seems like a stupid question- but I have applied the market depth on chart study to my chart but I don't get anything...what am I doing wrong ? MC 64 bit build 5622

what is the instrument?

this indicator does not work on custom futures

sptrader
Posts: 710
Joined: 09 Apr 2010
Location: Colorado
Has thanked: 468 times
Been thanked: 261 times
Contact:

Re: DOM indicator for chart

Postby sptrader » 16 Aug 2012

Andrew MultiCharts wrote:
sptrader wrote:This seems like a stupid question- but I have applied the market depth on chart study to my chart but I don't get anything...what am I doing wrong ? MC 64 bit build 5622

Is the data source IQFeed?


** YES, IQfeed, I tried it on CL and ES.. different time frames, tick charts etc.

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

Re: DOM indicator for chart

Postby ABC » 17 Aug 2012

sptrader wrote:** YES, IQfeed, I tried it on CL and ES.. different time frames, tick charts etc.


As far as I know, it only works on broker feeds. It would be really great, if MC would be able to access the book of all datafeeds. The datafeeds carry this information, so in my opinion it doesn't make sense to only limit it to broker data.

Regards,

Chris

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 558 times

Re: DOM indicator for chart  [SOLVED]

Postby Andrew MultiCharts » 17 Aug 2012

sptrader wrote:** YES, IQfeed, I tried it on CL and ES.. different time frames, tick charts etc.

http://www.multicharts.com/trading-software/index.php/Which_Data_Sources_Can_Be_Used_to_Plot_Depth_of_Market_(DOM)_Window - the same for DOM indicator.

sptrader
Posts: 710
Joined: 09 Apr 2010
Location: Colorado
Has thanked: 468 times
Been thanked: 261 times
Contact:

Re: DOM indicator for chart

Postby sptrader » 17 Aug 2012

Andrew MultiCharts wrote:
sptrader wrote:** YES, IQfeed, I tried it on CL and ES.. different time frames, tick charts etc.

http://www.multicharts.com/trading-software/index.php/Which_Data_Sources_Can_Be_Used_to_Plot_Depth_of_Market_(DOM)_Window - the same for DOM indicator.

**************************************************************************
Bingo ! it works.
I didn't know that it was for Broker's data ONLY..(IB in my case)
Thanks !

SP
Posts: 453
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 283 times

Re: DOM indicator for chart

Postby SP » 17 Aug 2012

virginiatrader,

not exactly what you search, but this modification sums up the bids and asks and shows the percentage of the total orderbook.
Attachments
Bid14.png
Bid14.png (63.06 KiB) Viewed 1996 times
DOM.pla
(16.12 KiB) Downloaded 404 times

User avatar
JoshM
Posts: 2099
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1526 times
Been thanked: 1502 times
Contact:

Re: DOM indicator for chart

Postby JoshM » 25 Aug 2012

ABC wrote:It would be really great, if MC would be able to access the book of all datafeeds. The datafeeds carry this information, so in my opinion it doesn't make sense to only limit it to broker data.

That would be indeed great. Especially since most of us will use a separate data feed because that one is better than the one provided by the broker. It's a shame then to be stuck with the broker's lesser data.

Sadly however:
We will consider this feature for implementation, however it is not planned to be implemented in the nearest future.

Source


Return to “MultiCharts”