Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 14:16:14 +0000



Post From: Referencing to Persistent Variable by name NOT working *URGENT*

[2016-02-23 20:07:46]
Sierra Chart Engineering - Posts: 104368
For Persistent Variables to have initial value of 0 AND initial value to be set ONCE and ONCE only by user, the autoloop needs to be 0.

This is not correct.

The initial value is always zero in all conditions but it can be changed by your code.

Using manual looping will not cause a user set initial value to be set once. It can be set many times.


When sc.Index equals 0, that is a logical place to reset them back to a default value and should be done whether automatic or manual looping is being done.
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