force an indicator to refresh itself
Created at 16 Nov 2023, 06:43
force an indicator to refresh itself
16 Nov 2023, 06:43
I suggest to make a way to force an indicator to refresh itself, just like “right click the chart > Refresh” does.
It is required in case a change was made to the indicator via added GUI controls and you want to have its effext via those controls.
Thanks
cTrader Automate
@eynt
firemyst
04 Dec 2023, 03:43 ( Updated at: 04 Dec 2023, 08:32 )
Why don't you just “nullify” your indicator object, and then recreate it?
You have to create and get the indicator data via code when you first start your cBot, so just do it again if you know there's a change.
@firemyst