Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 00:22:20 +0000



docs on sc.GetPersistent and sc.SetPersistent

View Count: 1244

[2019-02-05 17:30:09]
User153286 - Posts: 44
Are there any online docs for these?

for example:

sc.GetPersistentPointer(1)

sc.SetPersistentPointer(1, myvariable);

sc.GetPersistentFloat(1)

sc.GetPersistentInt(1)


what is the 1?

how are these to be used?
[2019-02-06 04:17:41]
User153286 - Posts: 44
I found it... no idea why I did not see it before

they are on the

ACSIL Interface Members - Functions page

https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html

and the 1 is the Id of the persistent variable, meaning if I use two of them in my study the value should change perhaps 1 and 2
[2019-02-06 05:14:06]
Sierra Chart Engineering - Posts: 104368
The following section covers the Get and Set Persistent for all the variable types:
sc.GetPersistentInt()
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