Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 20:36:32 +0000



[Programming Help] - sc.AllocateAndNameRenkoChartBarArrays

View Count: 748

[2018-02-18 10:20:29]
jizzary - Posts: 177
The documentation says:
"The sc.AllocateAndNameRenkoChartBarArrays variable only applies when sc.UsesCustomChartBarFunction is set to 1 and the study is creating custom chart bars"

I didn't set sc.UsesCustomChartBarFunction to 1
I didn't set sc.AllocateAndNameRenkoChartBarArrays to 1
Though the above, I accessed the sc.BaseData[SC_RENKO_OPEN][] and the sc.BaseData[SC_RENKO_CLOSE][] arrays and found they hold the actual chart data

It contradicts the documentation that says that these arrays must have sc.AllocateAndNameRenkoChartBarArrays set to 1, and requires sc.UsesCustomChartBarFunction to be set to 1
(2 settings which I didn't do).

I need to say that I'm using a Renko chart. I thought this may override the need to set these variables and need your confirmation for that.
I want to use these arrays with confidence that is why I'm asking

Thanks

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account