Login Page - Create Account

Support Board


Date/Time: Sat, 19 Sep 2020 09:32:08 +0000



ACSIL - How to detect renko chart type?

[2015-09-10 05:42:08]
ejtrader - Posts: 595 | Ending Date: 2021-04-19
SC team - Is there any way to detect whether the chart type is renko/custom charts?

For custom charts - we can use the function - sc.IsCustomChart - but wondering how to go about detecting renko/flex-renko type of charts.

Pseudo code:


if (non-renko chart) then float o = sc.BaseData[SC_OPEN][i]; // for volume/time-based/Range charts

if (renko chart) then float o = sc.BaseData[SC_RENKO_OPEN][i]; // for renko/custom/flex-renko type of charts



Thanks
Date Time Of Last Edit: 2015-09-10 05:47:20
[2015-09-10 07:29:09]
Sierra Chart Engineering - Posts: 89738 | Ending Date: 2021-04-05
This is documented here:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Functions.html#scAreRenkoBars
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

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

Login

Login Page - Create Account