Login Page - Create Account

Support Board


Date/Time: Thu, 03 Dec 2026 12:42:12 +0000



Post From: ACSIL Adding/removing multiple studies

[2026-10-15 02:07:10]
User553714 - Posts: 186
I am having a few issues with the new versions;

sc.AddStudyToChart works better; When I add the studies via custom button click for the very first time, you can see them added onto the chart and then it will flash during the recalculation and my lines appear. However after removing and adding via button click for a 2nd time, the studies are added to the chart but the recalculation does not occur and I have to manually recalc (chart studies >> ok) to get lines to appear

sc.RemoveStudyFromChart is far more problematic for me as I get CPU exceptions (probably due to dangling pointer issues but I am unsure without knowing the recalculation sequence during removal)
I am correctly calling sc.LastCallToFunction and using delete to release dynamic memory for each study and I had no issue with CPU exceptions on the old version of the function.

I would greatly appreciate you reinstate the old function versions as I had very stable systems based on those which is far more important than having to deal with multiple recalculations.

If you're willing to save the current versions with new names I would continue testing and will likely use a combination; probably the new version of sc.AddStudyToChartNew, and the old version of sc.RemoveStudyFromChart which for my use case is probably best.
Otherwise I will just use the older versions for stability reasons.