Login Page - Create Account

Support Board


Date/Time: Thu, 18 Apr 2024 17:16:24 +0000



Initiate Update of other study

View Count: 902

[2018-09-16 10:18:51]
User517260 - Posts: 97
Dear Sir, my study is using manual loop calculation, this study is changing itself in the nearest past (20-25 bars back) depend of new coming bars.
I used also 'Color Bar Based on Alert Condition' study from SierraChart's library to create visual signals.
A problem is - 'Color Bar Based on Alert Condition' study does not check past data of my study and does not refresh itself.
Question - how I may to initiate update for 'Color Bar Based on Alert Condition' study from my study to recalculate 'Color Bar Based on Alert Condition' study?
Thanks, Alex.
[2018-09-16 10:46:21]
Sierra Chart Engineering - Posts: 104368
You need to use this variable:
ACSIL Interface Members - Variables and Arrays: sc.EarliestUpdateSubgraphDataArrayIndex
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
[2018-09-16 12:13:25]
User517260 - Posts: 97
I didn't find source cpp file of 'Color Bar Based on Alert Condition' study to change sc.EarliestUpdateSubgraphDataArrayIndex variable. Please send me link to source file of 'Color Bar Based on Alert Condition' study or please write how I may to initiate update of 'Color Bar Based on Alert Condition' study from my own study.
[2018-09-16 19:27:39]
Sierra Chart Engineering - Posts: 104368
Read the documentation for sc.EarliestUpdateSubgraphDataArrayIndex. You set this in your own 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
[2018-09-22 09:03:20]
User517260 - Posts: 97
I used sc.EarliestUpdateSubgraphDataArrayIndex = 1 to show for 'Color Bar Based on Alert Condition' study - it has to recalculate all data from my study.

if (sc.SetDefaults)
{
sc.GraphName = "VAN: Study";
sc.StudyDescription = "VAN: Study";
sc.AutoLoop = 0;
sc.FreeDLL = 0;
sc.UpdateAlways = 1;
sc.EarliestUpdateSubgraphDataArrayIndex = 1;
sc.UpdateStartIndex = 1;
}    

but as you may see on video https://youtu.be/57Q30qGjYd8 'Color Bar Based on Alert Condition' study still needs to be refreshed by F5 - Enter. What is wrong?

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

Login

Login Page - Create Account