Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 16:56:00 +0000



Post From: working with Renko bars in ACSIL

[2014-02-14 10:29:39]
crazybears - Posts: 314
Hi

take a look here : http://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scBaseDataIn
at the end there is :


If you are using this array in your study function, you must set sc.MaintainAdditionalChartDataArrays to 1 in the sc.SetDefaults code block.

sc.BaseData[SC_RENKO_OPEN]: In the case of a Renko chart set through Chart >> Chart Settings, this array provides the Renko Open price. This array is used to draw the Renko bar body.
sc.BaseData[SC_RENKO_CLOSE]: In the case of a Renko chart set through Chart >> Chart Settings, this array provides the Renko Close price. This array is used to draw the Renko bar body.