Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 08:37:56 +0000



Post From: ACSIL - How to detect renko chart type?

[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