Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 02:54:28 +0000



Post From: Chart Bar Period Parameters for a Referenced Chart

[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.