Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 08:05:47 +0000



Post From: How to set sc.ChartDataStartDate and sc.ChartDataEndDate with ACSIL

[2024-10-28 17:25:43]
PS2004 - Posts: 47
Hi!

In the documentation provided here: https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Variables_And_Arrays.html#scChartDataStartDate, for me it is unclear how to set the start and end date on the Chart throught ACSIL, if
sc.LoadChartDataByDateRange
is set to 1.

The part
If this is set to 0, then the earliest date available in the chart data file is loaded into the chart.
is clear.
But I am missing the part about a non-zero value.

The type of the variable is integer. How does that correlates to the start date? Should I set it to a number of days since a given date?

Best regards, thanks in advance,
Sandor