Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 12:05:41 +0000



Post From: Continuous contract - with sc.OpenChartOrGetChartReference - spawns charts from expired symbols

[2013-12-27 14:50:48]
T44 - Posts: 363
I've implemented a check for sc.OpenChartOrGetChartReference=0 in my code before calling sc.OpenChartOrGetChartReference.

Unfortunately,the new version of the continuous contracts feature appears to use two symbols. Under chart settings I have e.g.
Symbol: E6H14
AND
Trade and Current Quote Symbol: 6E.CME_20130300_6EH4.CME_Fo

Any time I add a study calling sc.OpenChartOrGetChartReference(OpenChartParameters) with OpenChartParameters.Symbol = sc.Symbol.GetChars() Sierra rapidly spawns duplicate charts until the application crashes.

Please advise.