Login Page - Create Account

Support Board


Date/Time: Fri, 31 Jan 2025 03:15:01 +0000



Post From: Change Bar Period in ASCIL

[2019-04-01 04:59:31]
PK - Posts: 12
Hi,

I run the following code to change Bar Period from ASCIL:

    n_ACSIL::s_BarPeriod NewBarPeriod;
    NewBarPeriod.ChartDataType = INTRADAY_DATA;
    NewBarPeriod.IntradayChartBarPeriodType = IBPT_DAYS_MINS_SECS;
    NewBarPeriod.IntradayChartBarPeriodParameter1 = 60*60;// 60Mins per bar 
    //Set the bar period parameters. This will go into effect after the study function returns.
    sc.SetBarPeriodParameters(NewBarPeriod);  

but there is error when I compile the code. Could you help checking what's the problem.
Please see attached error message. Thanks.
attachmentError message.docx - Attached On 2019-04-01 04:57:46 UTC - Size: 12.44 KB - 442 views
Attachment Deleted.