Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 07:52:21 +0000



Post From: Issue: Custom study having custom object does not update once been added to the chart.

[2013-09-28 08:13:37]
Sierra Chart Engineering - Posts: 104368
It sounds as though you have a problem with your class maintaining the data. If it is defined globally outside of the function and you have sc.FreeDLL = 0, then it will be created and not go out of scope as soon as a study within the DLL is added to the chart.

If I declare the instance of the class inside the scsf_MainFunction(), the values calculated within the classs dont persist

This does make sense.
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