Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 13:02:50 +0000



[Programming Help] - Run Code After Chart Calculation

View Count: 604

[2017-07-27 18:24:05]
CustomIndicators - Posts: 126
Due to the immense load that my indicator goes through during chart calculation, my charts just freeze up and never seem to come back. In order to fix this, I'm trying to have a persistent int switch on my heavy calculations once the chart is done loading.

if (sc.Index == 0) seems to do an action before the study gets calculated onto the chart. What can I use to have an action be done once (setting a flag) after the calculation is complete?
[2017-07-27 20:44:03]
CustomIndicators - Posts: 126
Does anyone know of a way to run something once after the indicator has been calculated?

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

Login

Login Page - Create Account