Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 07:55:46 +0000



subgraph not erased when doing chart / recalculate

View Count: 1018

[2017-01-16 20:27:07]
SoundsLikeSun - Posts: 30
Hi,
Currently, when directly recalculating my charts (chart / recalculate), previous values in subgraph arrays are maintained in my ACSIL studies. I would like them to be reset.
However, if I open study settings, and press OK, then all subgraphs are properly reset to zero.
So maybe chart / recalculate is not equivalent to a full recalculation ?

I haven't seen anything in the documentation explaining how to reset / erase subgraph arrays. I must be missing something.
Thank you for your input
[2017-01-16 20:36:03]
Sierra Chart Engineering - Posts: 104368
There are certain conditions in which Subgraph arrays are cleared, but it is the responsibility of the study to set all elements of a Subgraph.

Do not rely upon Sierra Chart to do that for you.
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
[2020-11-01 00:19:55]
mbilyanov - Posts: 62
Hi,

Currently I'm facing the same issue. I'm building an ACSIL study that calculates a plot from a clicked location on the chart and onwards.

For this to work, I'm performing a custom looping so the autoloop is OFF. The reason for this is because I need to populate the plot from the clicked location and onwards.

This is working for situation where you keep clicking towards index "0", but the moment I start to click towards the most recent bar, the previous plot values are staying on the plot.

Only when I invoke the Study Settings window and press OK, I get the desired result.

I also have the sc.FullRecalculate = 1 function in there, but it does not seem to be working.
[2020-11-01 16:21:51]
Sierra Chart Engineering - Posts: 104368
but the moment I start to click towards the most recent bar, the previous plot values are staying on the plot.
Therefore, in this case just simply clear the prior Study Subgraph array elements before that bar.
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

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

Login

Login Page - Create Account