Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 21:08:47 +0000



Text PersistVars

View Count: 1093

[2015-06-29 21:23:10]
User53601 - Posts: 106
Hello,

Seems there are no Text PersitVars implemented for use in ACSIL.

Is there a way how to takeover a text value through loops?


Situation:
For every bar I display a text using s_UseTool.
In some cases I need to use the same text value as was used in previous bars, so I wanted to use PersistVar text type, to hold text value through loops.
However as I found out, Text PersistVar it is not available.

Thank you
Date Time Of Last Edit: 2015-06-29 21:23:58
[2015-06-30 12:38:51]
jackw - Posts: 57
There is a 512 byte block of permanent memory where you can store your text strings. See documentation for sc.StorageBlock.

If that is not enough space then you can allocate your own block of persistent memory. See
http://www.sierrachart.com/index.php?page=doc/doc_ACSILProgrammingConcepts.html#DynamicMemoryAllocations
[2015-07-03 23:44:17]
Sierra Chart Engineering - Posts: 104368
We will add text persistent variables.
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: 2015-07-03 23:44:29
[2015-07-04 06:51:49]
User53601 - Posts: 106
Great.
[2016-05-21 18:43:52]
User53601 - Posts: 106
Anything new in text persistent variables?
[2016-05-21 23:30:17]
Sierra Chart Engineering - Posts: 104368
Apparently this had gotten overlooked. We are going to review it in the next few days and add this capability if there are no complications.
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