Login Page - Create Account

Support Board


Date/Time: Thu, 06 Feb 2025 06:50:31 +0000



Post From: sc.RecalculateChartImmediate

[2020-04-01 17:53:25]
User869657 - Posts: 31
Hello

I'm trying to use sc.SetChartStudyInputInt combined with sc.RecalculateChartImmediate() ; this works great but as stated in the doc of sc.RecalculateChartImmediate(), "the clearing of arrays does not happen", which means that when I export data outside SC for further analysis, I end up retrieving the results of the previous inputs values' runs as well

I couldn't find a function that clears the arrays, could you please let me know if there is one ? What I'm trying to achieve is to loop an input through different values, and for each retrieve data of the run to analyse.

Many thanks in advance

sc.RecalculateChartImmediate()