Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 07:12:54 +0000



Post From: Typo in Manual re sc.SetBarPeriodParameters

[2018-07-26 21:35:28]
Marmany - Posts: 303
For info:
There is an error in the Manual
n_ACSIL::s_BarPeriod NewBarPeriod;
NewBarPeriod.ChartDataType = INTRADAY_DATA;
NewBarPeriod.IntradayChartBarPeriodType = IBPT_DAYS_MINS_SECS;
NewBarPeriod.IntradayChartBarPeriodParameter1 = 300;// 300 seconds per bar which is 5 minutes

//Set the bar period parameters. This will go into effect after the study function returns.
sc.SetBarPeriodParameters(BarPeriod);

Should be sc.SetBarPeriodParameters(NewBarPeriod);