Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 16:14:03 +0000



Post From: Run Code After Chart Calculation

[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?