Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 16:18:32 +0000



Post From: Display Bar Period on Chart

[2021-09-02 18:18:41]
User90125 - Posts: 715
User212764)
Example
n_ACSIL::s_BarPeriod BarPeriod;
sc.GetBarPeriodParameters(BarPeriod);
if (BarPeriod.ChartDataType == INTRADAY_DATA && BarPeriod.IntradayChartBarPeriodType == IBPT_DAYS_MINS_SECS)
{
int SecondsPerBar = BarPeriod.IntradayChartBarPeriodParameter1;
}

sc.GetBarPeriodParameters()

Thanks Ackin :)