Support Board
Date/Time: Wed, 27 Nov 2024 02:45:33 +0000
sc.OpenChartOrGetChartReference - unexpected weekly and quarterly charts spawned
View Count: 1136
[2014-07-11 10:14:16] |
T44 - Posts: 363 |
I have a custom study with the following code, which has been worked as expected since Sierra 110x. int& ChartNumber = sc.PersistVars->i1; s_ACSOpenChartParameters OpenChartParameters; OpenChartParameters.PriorChartNumber = ChartNumber; OpenChartParameters.ChartDataType = DAILY_DATA; OpenChartParameters.Symbol = p_Symbol; OpenChartParameters.DaysToLoad = 4380; ChartNumber = sc.OpenChartOrGetChartReference(OpenChartParameters); Sierra Chart is 1158. I have made no changes to my chartbook, however on loading the following additional charts are spawned: RJU14 Quarterly (x2) GCQ14 Quarterly NGQ14 Monthly ESU14 Monthly CLQ14 Monthly Closing these charts does not result in them being automatically re-opened, as would usually be the case if they were being called by sc.OpenChartOrGetChartReference. There are already daily charts with 4380 days to load in this chartbook for the above symbols, so why are new weekly and quarterly charts being created, and why the duplicate entries? This is truly odd. |
[2014-07-11 10:18:21] |
T44 - Posts: 363 |
What is even stranger, is that after closing the above mentioned charts, about a minute later the following are spawned instead: RJU14 Weekly NQU14 Weekly RJU14 Weekly YMU14 Weekly GCQ14 Weekly NGQ14 Weekly CLQ14 Weekly ESU14 Weekly |
[2014-07-11 10:40:01] |
Sierra Chart Engineering - Posts: 104368 |
We know why this happens. Recompile your source code on the version of Sierra Chart you are using. This will solve this. However, we will see how to prevent this. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: