Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 10:20:16 +0000



How to trigger chart update / calculation?

View Count: 1065

[2019-01-07 18:25:18]
33818 - Posts: 30
Apologies if I've missed this in documentation & searches. Although I've found the GetBarHasClosedStatus function, is there a simpler way (whether study, spreadsheet setting or otherwise) to trigger a chart update / calculation from another chart's bar close?

Example:
-> Range chart #1 and Time chart #2
-> recalculate chart #1 ONLY upon bar close on chart #2
[2019-01-07 19:30:02]
Sierra Chart Engineering - Posts: 104368
What you will want to do is overlay the data from chart #2 onto chart #1. And any updates on chart #2 will trigger a calculation in chart #1. But not a full recalculation.

Use this study:
Study/Price Overlay 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
[2019-01-07 23:08:18]
33818 - Posts: 30
Thank you. I was using the Study Price Overlay Study and actually need a full recalculation that uses the accumulated (blanks filled with last value) data.
[2019-01-08 03:22:50]
Sierra Chart Engineering - Posts: 104368
You can programmatically cause a full recalculation with:
ACSIL Interface Members - Variables and Arrays: sc.FlagFullRecalculate
sc.RecalculateChart()
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
[2019-01-08 04:55:15]
Sawtooth - Posts: 3982
You might also look at this:
Kiwi Resync Study - Memory leak?

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

Login

Login Page - Create Account