Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 18:33:30 +0000



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

[2016-02-23 23:21:54]
Sierra Chart Engineering - Posts: 104368
The persistent variables are held in a STL map which is part of a Study Graph object which is instantiated when a study is added to the chart or a Chartbook is opened which contains a study. Each study is a separate Study Graph object.

According to the C++ standard, arithmetic types like integers and floats are initialized to 0. This has been confirmed according to the standard and actual testing. This is something you can verify yourself when you check the initial value of the persistent variable with step-by-step debugging .

With this understanding explain where the 87XXX value comes from?

So you have the ability to determine exactly where this value comes from. It would be worth your while to make that determination. There is no reason to let us know. Because it is rather clear to us.
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
Date Time Of Last Edit: 2016-02-23 23:25:46