what function to return bid price in real time trading?  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
gztanwei
Posts: 32
Joined: 15 Aug 2015
Has thanked: 6 times
Been thanked: 5 times

what function to return bid price in real time trading?

Postby gztanwei » 07 Feb 2016

background is that I'm trying to customizing the tool strip code to have buttons to turn on/off certain entry logic.
Because the market I trade (FTSE 100) is very thin, I want to set limit order to buy at latest bid when certain entry logic becomes true.

What is the easiest to get real time bid price? I searched reference and found "IDOMData", but it seems unnecessary to create an instance of DOM, so just to ask.

Thanks.
Attachments
Image 2.png
(20.72 KiB) Downloaded 624 times

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

Re: what function to return bid price in real time trading?  [SOLVED]

Postby JoshM » 07 Feb 2016

What is the easiest to get real time bid price?
`Bars.StatusLine.Bid` returns the current bid of the first data series; `BarsOfData(x).StatusLine.Bid` does this for the xth data series.


Return to “MultiCharts .NET”