Support Board
Date/Time: Tue, 04 Nov 2025 01:29:35 +0000
Post From: new version doesn't support setting sc.VolumePerBar
|   [2018-08-19 12:59:37]     |  
| User44804 - Posts: 7 | 
| 
                Hi, i have been using the sc.VolumePerBar extensively to set the Volume per bar according to the Volume of another time based chart. However i just discovered to my dismay that this function is no longer supported in the new software update. Now i have been trying to use sc.SetBarPeriodParameters instead, but it's not working. It's not even working when i'm just using a constant number for test purposes. What am i doing wrong here? Here's a snippet from the code: n_ACSIL::s_BarPeriod NewBarPeriod; sc.GetBarPeriodParameters(NewBarPeriod); NewBarPeriod.ChartDataType = INTRADAY_DATA; NewBarPeriod.IntradayChartBarPeriodType = IBPT_VOLUME_PER_BAR; NewBarPeriod.IntradayChartBarPeriodParameter1 = 1200; sc.SetBarPeriodParameters(NewBarPeriod); Thank you in advance.  | 
        
