Login Page - Create Account

Support Board


Date/Time: Tue, 21 Oct 2025 00:56:01 +0000



Post From: Compatibility Issue: Retrieving SC_LAST_RUN_OF_STUDY State for Destructor Logic (ACSIL/C++

[2025-10-11 17:14:27]
Sierra_Chart Engineering - Posts: 21167
The goal is to safely detect when the study is removed from the chart (SC_LAST_RUN_OF_STUDY state) in the sc.SetDefaults block,
This does not make sense. You cannot detect, when the study is removed from the chart within the sc.SetDefaults code block. It must be outside.
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: 2025-10-11 17:15:41