Hi, I see that you are displaying official market open on charts with IB data feed as per feature of multicharts.net (The ‘Open’ field in the status line. Values for the Open field will now be fed into the status line for IB symbols.)
How do I obtain this value programatically from a study (not the first trade of the day, but one that is displayed on charts) ?
obtaining programatically Official Market Open (Daily) IB [SOLVED]
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: obtaining programatically Official Market Open (Daily) I [SOLVED]
The 'Open' price of the primary data series' Status Line can be retrieved with:Hi, I see that you are displaying official market open on charts with IB data feed as per feature of multicharts.net (The ‘Open’ field in the status line. Values for the Open field will now be fed into the status line for IB symbols.)
How do I obtain this value programatically from a study (not the first trade of the day, but one that is displayed on charts) ?
Code: Select all
Bars.StatusLine.Open
Code: Select all
BarsOfData(2).StatusLine.PrevClose // Previous close of data 2