Login Page - Create Account

Support Board


Date/Time: Sun, 12 May 2024 02:30:06 +0000



Post From: Study with large number of persistent variables

[2020-04-16 16:18:13]
@sstfrederik - Posts: 403
Hi SC,

I recently noticed that when a study with a large set of persistent variables is loaded on a chart with a large number of bars (20 day tick chart vs 20 time based chart) it shows quite a high study calculation time (several hundreds of ms).

Although no calculations are performed in this study. This is just from the declaration of these persistent variables.

I tested this on a skeleton study were nothing is done but using 150
float& Example= sc.GetPersistentFloat(0);
declarations.

Is there something that can be done about that other than loading less bars? It makes the study look slower than it actually is.

Frederik