Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 01:08:41 +0000



Is there a way to reload chart data WITHOUT recalculating studies?

View Count: 828

[2016-11-18 17:01:07]
skelcap - Posts: 139
I have a chart with custom data and a study which changes the data, so I need to reload the data after calculating the study. I tried the following but on the reload after the recalc we have sc.IsFullRecalculation == 1 to it gets stuck in an infinite loop:


if (sc.IsFullRecalculation)
sc.FlagToReloadChartData = 1;
else
sc.FlagToReloadChartData = 0;

[2016-11-18 17:39:46]
Sierra Chart Engineering - Posts: 104368
Yes this does make sense that will happen.

This is normal. A recalculation obviously must take place after reloading the chart data from the file.
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
[2016-11-18 21:59:12]
skelcap - Posts: 139
Ah of course, that's the way it's supposed to happen, I was getting confused. My study was recreating my DataFile with different data which took some time, so the lag on constant recalc was noticeable. I think instead I should make the study change the symbol to reference the different data.

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

Login

Login Page - Create Account