Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 19:31:09 +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