Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 06:38:53 +0000



ACSIL Getting Bar Period in Minutes "sc.GetBarPeriodParametersForChart"

View Count: 202

[2024-03-19 12:17:57]
User92573 - Posts: 530
Dear Support

I can see a post several years ago where the function "sc.GetBarPeriodParametersForChart" was going to be added. I'm sure it has but I cannot find it, or any examples.

What I'd like to obtain is the current charts resolution in minutes along with a test to make sure it is a time based chart.

Any help, code examples, or directions gratefully received.

Many thanks.
[2024-03-19 12:30:36]
User92573 - Posts: 530
The post sent me looking for "sc.GetBarPeriodParametersForChart" when all I needed was the following.


n_ACSIL::s_BarPeriod BarPeriod;
  sc.GetBarPeriodParameters(BarPeriod);

Many thanks.

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

Login

Login Page - Create Account