Is there CurrentAsk / CurrentBid keyword in MC.Net

Questions about MultiCharts .NET and user contributed studies.
radekj
Posts: 113
Joined: 28 Apr 2008
Has thanked: 20 times
Been thanked: 1 time

Is there CurrentAsk / CurrentBid keyword in MC.Net

Postby radekj » 30 Aug 2012

Is there CurrentAsk / CurrentBid keyword in MC.Net like in MC.EasyLanguage ?

Not for DOM, for normal datafeed.

ciao
radekj

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Is there CurrentAsk / CurrentBid keyword in MC.Net

Postby Henry MultiСharts » 31 Aug 2012

radekj,

Check Bars.StatusLine.Ask and Bars.StatusLine.Bid

Traderji
Posts: 41
Joined: 08 Mar 2012
Has thanked: 6 times
Been thanked: 17 times

Re: Is there CurrentAsk / CurrentBid keyword in MC.Net

Postby Traderji » 02 Sep 2012

Henry,

Using the ask/bid I am trying to calculate the spread in ticks. Could you post some example code of how to access the current Instrument properties like ticksize, big point value etc?

Thanks in advance.

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Is there CurrentAsk / CurrentBid keyword in MC.Net

Postby JoshM » 05 Sep 2012

Hi Traderji,

See Bars.Info... to return instrument properties for things like BigPointValue and PriceScale:

Image
Attachments
scr.05-09-2012 10.26.14.png
(5.32 KiB) Downloaded 1272 times


Return to “MultiCharts .NET”