Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 12:33:20 +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