Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 22:16:01 +0000



ACSIL - How to detect renko chart type?

View Count: 885

[2015-09-10 05:42:08]
ejtrader - Posts: 688
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: 104368
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. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account