Hello,
I have problem with slow calculation of custom indicator in strategy.
I have Custom ZigZag indicator (in attachment). It have additional arrows.
I use this indicator in strategy to calculate. I need use it evry one second (the same result as every tick) and it seems that this idicator is calculated very slow,
I return message if arrow will accured and I print date/time of bar on which it accure.
and I see that there is big shift (delay) in calculating:

In Messages window I receive:

So it means that this indicator is calculated very slow.
What can I do to calculate it in real time, without delay?