Hi,
I experience the following problem, which I cannot explain, maybe someone can help me understand if it is normal, or I should look for something in my script:
When changing symbols or time interval, the load time is much longer than I just reload to plot diferent sets of indicators [I have buttons that allow me to do this].
For example, what takes in average 0.4-0.5ms on reload efs, takes 0.9-1.3ms when changing timeframe or symbol.
I know premain is not executed on reload efs, but I don't think the premain is the problem [I only have about 20 lines with function parameters and default settings for plots and chart], so must be something else.
Can anybody explain what else happens on fir load that does not on reloadefs? Are studies re-executed on reload? If they are not, everything makes sense and is normal, else, I have no clue.
NOTE: I noticed that when changing symbol or timeframe, the script is executed a few more times that the number of bars in Time Template [for example, 603-604, on 600 bars template]. This does not happen on reloadefs.
NOTE2: I have a second problem, which I cant explain: When changing symbol or time interval, my lower panes [not on the Price pane] appear shortly, then dissappear, to re-appear after time described above?!? I hope is the same problem.
Thank you.
Mihai
I experience the following problem, which I cannot explain, maybe someone can help me understand if it is normal, or I should look for something in my script:
When changing symbols or time interval, the load time is much longer than I just reload to plot diferent sets of indicators [I have buttons that allow me to do this].
For example, what takes in average 0.4-0.5ms on reload efs, takes 0.9-1.3ms when changing timeframe or symbol.
I know premain is not executed on reload efs, but I don't think the premain is the problem [I only have about 20 lines with function parameters and default settings for plots and chart], so must be something else.
Can anybody explain what else happens on fir load that does not on reloadefs? Are studies re-executed on reload? If they are not, everything makes sense and is normal, else, I have no clue.
NOTE: I noticed that when changing symbol or timeframe, the script is executed a few more times that the number of bars in Time Template [for example, 603-604, on 600 bars template]. This does not happen on reloadefs.
NOTE2: I have a second problem, which I cant explain: When changing symbol or time interval, my lower panes [not on the Price pane] appear shortly, then dissappear, to re-appear after time described above?!? I hope is the same problem.
Thank you.
Mihai
Comment