Login Page - Create Account

Support Board


Date/Time: Sat, 13 Jun 2026 04:18:27 +0000



[Programming Help] - address of SCStudyInterfaceRef stability

View Count: 41

[2026-06-13 00:30:44]
User166108 - Posts: 87
Is the address of the ref passed into the study consistent throughout the study’s lifetime? The use case I have is using the pointer as a key in a global map and removing it on LastCallToFunction. If the address can change (for example due to a reallocation) then I’d rather not use this approach.

Thanks.
[2026-06-13 03:08:33]
Sierra_Chart Engineering - Posts: 24012
No, it is not constant or stable. We would expect that it changes when you open the Chart Studies window and then press either OK or Apply.

This would be the only reason we can think of. And certainly it would change when you close a Chartbook and reopen it.
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-06-13 03:09:02

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account