Hi Guys,
Sometimes, when making a change to the code and recompiling, not all indicators are reloading and I have to reload them manually.
It is very annoying, is it only me!?
I could not find any comments about that.
Sometimes it works great, so maybe there is a workaround so I can avoid it?
Thanks,
Ido
Why sometimes not all indicators are reloading?
- TJ
- Posts: 7753
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1034 times
- Been thanked: 2228 times
Re: Why sometimes not all indicators are reloading?
What kind of changes did you do?
What kind of updates that are not updating?
What kind of updates that are not updating?
Re: Why sometimes not all indicators are reloading?
There is a signal on Chart 1 (main), but signal can't plot, so I have 2 indicators for plotting.
1st ndicator on chart 1 for plotting values close enough to symbol values (e.g. moving average)
2nd indicator on chart 2 for plotting flags (0/1) or other small values.
Now, making a change in the signal code or functions that are used in the code and then recompile.
All charts are updated including the 2 plotting indicators they plot the updated values that were sent from the signal.
But....
Sometimes the 2 plotting indicators (or one of them) do not update and shows all values as zero.
Then, turning the indicator off and on, restart it and it shows the values correctly.
1st ndicator on chart 1 for plotting values close enough to symbol values (e.g. moving average)
2nd indicator on chart 2 for plotting flags (0/1) or other small values.
Now, making a change in the signal code or functions that are used in the code and then recompile.
All charts are updated including the 2 plotting indicators they plot the updated values that were sent from the signal.
But....
Sometimes the 2 plotting indicators (or one of them) do not update and shows all values as zero.
Then, turning the indicator off and on, restart it and it shows the values correctly.
Re: Why sometimes not all indicators are reloading?
Just to clarify...
I am taking about backtesting offline mode
I am taking about backtesting offline mode
- Kate MultiCharts
- Posts: 616
- Joined: 21 Oct 2020
- Has thanked: 12 times
- Been thanked: 156 times
Re: Why sometimes not all indicators are reloading?
Hello Ido,
An indicator is not recalculated when a signal is recompiled.
It can be recalculated if a function used in the indicator code is recompiled.
An indicator is not recalculated when a signal is recompiled.
It can be recalculated if a function used in the indicator code is recompiled.
Re: Why sometimes not all indicators are reloading?
Hi Kate,
In that case, why it sometimes actually recalculated?
There are no functions in the Indicators, they are just used for Plotting (using i_getplotvalue). Sometime they do recalculated after recompile of the Signal.
As I wrote:
"There is a signal on Chart 1 (main), but signal can't plot, so I have 2 indicators for plotting.
1st ndicator on chart 1 for plotting values close enough to symbol values (e.g. moving average)
2nd indicator on chart 2 for plotting flags (0/1) or other small values.
Now, making a change in the signal code or functions that are used in the code and then recompile.
All charts are updated including the 2 plotting indicators they plot the updated values that were sent from the signal.
But....
Sometimes the 2 plotting indicators (or one of them) do not update and shows all values as zero.
Then, turning the indicator off and on, restart it and it shows the values correctly."
Ido
In that case, why it sometimes actually recalculated?
There are no functions in the Indicators, they are just used for Plotting (using i_getplotvalue). Sometime they do recalculated after recompile of the Signal.
As I wrote:
"There is a signal on Chart 1 (main), but signal can't plot, so I have 2 indicators for plotting.
1st ndicator on chart 1 for plotting values close enough to symbol values (e.g. moving average)
2nd indicator on chart 2 for plotting flags (0/1) or other small values.
Now, making a change in the signal code or functions that are used in the code and then recompile.
All charts are updated including the 2 plotting indicators they plot the updated values that were sent from the signal.
But....
Sometimes the 2 plotting indicators (or one of them) do not update and shows all values as zero.
Then, turning the indicator off and on, restart it and it shows the values correctly."
Ido
- Kate MultiCharts
- Posts: 616
- Joined: 21 Oct 2020
- Has thanked: 12 times
- Been thanked: 156 times
Re: Why sometimes not all indicators are reloading?
Hello Ido,Hi Kate,
In that case, why it sometimes actually recalculated?
There are no functions in the Indicators, they are just used for Plotting (using i_getplotvalue). Sometime they do recalculated after recompile of the Signal.
As I wrote:
"There is a signal on Chart 1 (main), but signal can't plot, so I have 2 indicators for plotting.
1st ndicator on chart 1 for plotting values close enough to symbol values (e.g. moving average)
2nd indicator on chart 2 for plotting flags (0/1) or other small values.
Now, making a change in the signal code or functions that are used in the code and then recompile.
All charts are updated including the 2 plotting indicators they plot the updated values that were sent from the signal.
But....
Sometimes the 2 plotting indicators (or one of them) do not update and shows all values as zero.
Then, turning the indicator off and on, restart it and it shows the values correctly."
Ido
Please reproduce this behaviour in a test workspace in Offline mode and make a video demonstrating it.
Then please send us the following files:
1. Your workspace
2. Export of your study in the PLA format
3. Export of data for your instrument
4. Video demonstrating the behaviour