Automatic Restart / Reinitialize Indicator.
Created at 20 Jul 2022, 11:10
Automatic Restart / Reinitialize Indicator.
20 Jul 2022, 11:10
Hi.
Automatic Restart / Reinitialize Indicator.
I have an indicator which is referencing the time / X value of a vertical line. When the line is dragged forward and back in time I'd like the indicator recalculate based off the new index it has received.
I already have the "Listener" and if I change a setting on the indicator it does recalculate using the new index but i'd like to avoid having to change a setting each time to invoke an update.
Is this functionality is possible ?
Thanks in advance.
H.
PanagiotisCharalampous
21 Jul 2022, 10:27
Hi K100,
To achieve this, you will need to manually execute the Calculate() for all bars.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous