Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 08:14:35 +0000



Recalculate Study

View Count: 574

[2020-05-11 22:04:30]
QnReally - Posts: 181
When using sc.SetChartStudyInputInt() to change inputs for some studies in the chart, I am calling sc.RecalculateChart() (sc.RecalculateChart()) to recalculate the chart after.

The study where this logic occurs also draws labels. This study doesn't execute on every update of the chart, to conserve resources (say at most once every 200ms -- custom code). The sc.RecalculateChart() call this study issues triggers a call to itself with sc.UpdateStartIndex=0 which wipes my DRAWING_TEXT labels first. This means, I am forced to immediately draw them without waiting for the 200ms.

I know which studies I am setting the inputs for with sc.SetChartStudyInputInt(). Is there a way you can support recalculating one study at a time?

Thanks.
[2020-05-11 22:29:05]
Sierra Chart Engineering - Posts: 104368
No definitely not. It is not possible to recalculate just one study.
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
Date Time Of Last Edit: 2020-05-11 22:29:45

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

Login

Login Page - Create Account