Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 15:15:03 +0000



String sc.PersistVar

View Count: 820

[2015-02-05 16:44:15]
Trade Nice - Posts: 75
Is there a way (workaround) to program a static string variable (string sc.PersistVar)?





[2015-02-05 16:55:17]
Sierra Chart Engineering - Posts: 104368
You could do something as simple as:
static SCString StringName;

Make sure to set sc.FreeDLL = 0.

And be aware that this static string is common to all instances of the study.
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:

Login

Login Page - Create Account