Support Board
Date/Time: Wed, 25 Feb 2026 05:55:33 +0000
[ACSIL] - Feature request, Global Cache
View Count: 47
| [2026-02-24 20:18:55] |
| backinblack - Posts: 42 |
|
Hello, I know you folks would have tons of feature requests but I would like to add one to your queue :). It would be very useful to have an API supported Global/Chartbook level cache accessible via ACSIL? It will take away the dependencies that gets created between charts in a chartbook when there is a need to share persistent variables between multiple charts. I have ended up in cyclical dependencies in the past and the work around I used was have duplicate chart of same type. Thank you! J Date Time Of Last Edit: 2026-02-24 20:19:36
|
| [2026-02-24 22:08:55] |
| Sierra_Chart Engineering - Posts: 23015 |
|
Not sure that we understand exactly what you need. Since a custom study is a C++ function, you could always declare variables in the global scope, outside of a function, which will be globally accessible from any study function. These will persist, during the entire running session of Sierra Chart. Unless the Custom Study DLL gets unloaded but that will not normally happen unless a custom study is being rebuilt. Refer to: https://www.learncpp.com/cpp-tutorial/introduction-to-global-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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2026-02-24 22:11:04
|
| [2026-02-25 00:38:43] |
| User719512 - Posts: 420 |
|
backinblack , maybe "named memory mapped files" could be useful for your scenario.
|
To post a message in this thread, you need to log in with your Sierra Chart account:
