Support Board
Date/Time: Tue, 26 Nov 2024 18:18:51 +0000
Post From: How To Set Bar Period Parameters For A Chart The Study Is Not On
[2023-11-17 18:09:33] |
Richard Chinn - Posts: 28 |
Is there a way to set bar period parameters for charts in the same chartbook as my study chart using ANCIL? I have five charts that I open from my study on chart one with sc.OpenChartOrGetChartReference. I open them with the correct bar period parameters. My study checks to make sure the bar period parameters have not been changed, specifically the bar period length. I do this by using sc.GetBarPeriodParametersForChart I store the value for bar period length, example: rBarPeriod.IntradayChartBarPeriodParameter1 = 300 This does not update the bar period parameters though. I don't see a function, sc.SetBarPeriodParametersForChart to use in conjunction with sc.GetBarPeriodParametersForChart. Is there another way to update bar period parameters for a specified chart? |