Login Page - Create Account

Support Board


Date/Time: Sat, 05 Jul 2025 11:45:57 +0000



Post From: Issues with charts opened with sc.OpenChartOrGetChartReference()

[2020-12-29 08:34:02]
Sierra Chart Engineering - Posts: 104368
We have looked into this, and this is what we determined and we added this to the documentation:
This function cannot be called from within the sc.SetDefaults code block. It will result in an incorrect Chart Number being used, when a Chartbook is being opened and one of the studies in the Chartbook makes a call to the sc.OpenChartOrGetChartReference() function. Therefore, it must be called below the sc.SetDefaults code block.

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