I have UpdateOnEveryTick True on my indicator, but it is starting to cause performance issues. it seems the only alternative is to update on bar close.
Is there no way to update at specific interval? for example I'd like to update every couple seconds instead of on every tick.
can this be done? if not, then can we get this added in a future release?
UpdateOnEveryTick performance issues
-
- Posts: 87
- Joined: 10 Feb 2022
- Has thanked: 53 times
- Been thanked: 11 times
Re: UpdateOnEveryTick performance issues
Hello I'm currently not using any livetick charts, so I don't know if the following is helpful:
you have the possibility to open the settings by double-clicking on your symbol in the chart under the settings tab you can change the tick resolution
You can also right-click on the chart under Format indicators in the settings of your indicator in the properties tab below
But I tested the whole thing with a zigzag indicator from me and the free MSFX data from multicharts, these are updated in ticks, I couldn't find any loss of performance there, whether with or without
[UpdateOnEveryTickAttribute(true)]
Maybe this is due to your indicator too complicated calculations?
is your pc maybe too old?
the tick calculation is only relevant for live trading anyway, see this forum post
viewtopic.php?t=47174#:~:text=For%20ind ... heck%20box.
We would need more information to be able to help you...
you have the possibility to open the settings by double-clicking on your symbol in the chart under the settings tab you can change the tick resolution
You can also right-click on the chart under Format indicators in the settings of your indicator in the properties tab below
But I tested the whole thing with a zigzag indicator from me and the free MSFX data from multicharts, these are updated in ticks, I couldn't find any loss of performance there, whether with or without
[UpdateOnEveryTickAttribute(true)]
Maybe this is due to your indicator too complicated calculations?
is your pc maybe too old?
the tick calculation is only relevant for live trading anyway, see this forum post
viewtopic.php?t=47174#:~:text=For%20ind ... heck%20box.
We would need more information to be able to help you...
Re: UpdateOnEveryTick performance issues
Hi pthegr8 maybe you can find a solution here viewtopic.php?t=43339