change indicator parameters on a bar event (bot)
Created at 20 Aug 2020, 17:01
TW
change indicator parameters on a bar event (bot)
20 Aug 2020, 17:01
Is it possible to change period to an indicator differently from onstart event?? example change on an event monthly bar, period from 10 to 100?
Replies
twoheartzin1soul
21 Aug 2020, 16:42
RE:
PanagiotisCharalampous said:
Hi twoheartzin1soul,
No, you will need to reinitialize the indicator with the new parameters.
Best Regards,
Panagiotis
thank you very much for the answer, ok, but can I reintialize the indicator in a specific event or do I have to switch the bot off and on again?
@twoheartzin1soul
PanagiotisCharalampous
21 Aug 2020, 16:47
Hi twoheartzin1soul,
You do not need to switch the cBot off to do this.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Aug 2020, 08:23
Hi twoheartzin1soul,
No, you will need to reinitialize the indicator with the new parameters.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous