Login Page - Create Account

Support Board


Date/Time: Wed, 25 Feb 2026 07:41:51 +0000



Post From: [ACSIL] - Feature request, Global Cache

[2026-02-24 22:08:55]
Sierra_Chart Engineering - Posts: 23017
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