Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 23:57:19 +0000



Chart Bar Period Parameters for a Referenced Chart

View Count: 813

[2020-11-03 19:23:58]
User565689 - Posts: 19
Hello,

Is there a way to use ACSIL to access the Chart Bar Period Parameters (such as those returned by sc.GetBarPeriodParameters() ) for a referenced chart? Referenced chart meaning a chart other than the one that the ACSIL Study is attached to.

For example, I will use sc.GetChartBaseData(InputtedOtherChartNumber, BaseData) to retrieve the chart data of that other chart, using an input from the user to choose the other chart.

However, other than doing some questionable math (such as subtracting the Start Times of the Referenced chart, which falls apart when using non-time charts such as Range or Renko), is there a way to use ACSIL to retrieve the Bar Period Parameters of that other chart?
sc.GetBarPeriodParameters() does not have a Chart Number parameter, and I did not see any other method of accessing that data.

Thank you.
[2020-11-04 13:32:21]
Sierra Chart Engineering - Posts: 104368
We will add this function to the next release to support this:
sc.GetBarPeriodParametersForChart
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
Date Time Of Last Edit: 2020-11-04 13:32:30
[2021-11-03 18:52:47]
User785723 - Posts: 57
Hi,

I see that sc.GetBarPeriodParametersForChart is released but not documented. Can you please also release sc.SetBarPeriodParametersForChart?

Thanks!

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

Login

Login Page - Create Account