Login Page - Create Account

Support Board


Date/Time: Wed, 30 Apr 2025 10:54:59 +0000



[Programming Help] - Question about Study Updates

View Count: 42

[2025-04-28 04:58:59]
Tony - Posts: 568
Hi,

My custom study is very responsive, even when price action is slow or when Chart Replay is paused, because I set sc.UpdateAlways as true.

But for other studies loaded on the same chart, most of the time, they won't be updated until new data is received.

Although sc.RecalculateChart(sc.ChartNumber) would get everything updated, the whole chart blinks every time when recalculating happens, that unfortunately is not an option.

Wonder if there is a way to get around it?

Thanks so much.
Date Time Of Last Edit: 2025-04-28 13:50:15
[2025-04-28 13:51:56]
Sierra_Chart Engineering - Posts: 19383
The chart definitely should not "blink" during a recalculate. You can manually do one through Chart >> Recalculate and test this.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2025-04-28 13:55:15
[2025-04-28 15:59:31]
Tony - Posts: 568
The chart definitely should not "blink" during a recalculate. You can manually do one through Chart >> Recalculate and test this.

Yes, you are right, my bad, the blink was caused by the subgraphs from the custom study, I set "Graph Draw Types" to Blank, so I would be able to manually draw bars with different displacements for different sessions.

Just to confirm: would functions like sc.SetChartStudyInputInt() and sc.SetChartStudyInputFloat etc, cause a study to update? Or I usually still need wait until there is a chart update? I tested, and had mixed results.

Thanks
Date Time Of Last Edit: 2025-04-28 16:00:04

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

Login

Login Page - Create Account