Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 06:07:48 +0000



Post From: how to check if reference bars are closed

[2014-08-29 19:15:32]
umair1 - Posts: 86
I'm using the following code to reference the OHLC from another graph:

SCGraphData BaseGraphData;
sc.GetChartBaseData(ChartStudy.GetChartNumber(), BaseGraphData);

As I understand it, BaseGraphData will contain the OHLC arrays. But how do I determine whether the bars from the reference graph are closed ie is there an equivalent for sc.GetBarHasClosedStatus() for reference arrays?

Also is there an equivalent for sc.AreRenkoBars() for reference arrays?

Thanks