Topics
Replies

sessialessio
14 Apr 2020, 13:05

RE:

PanagiotisCharalampous said:

Hi sessialessio,

By design, when a chart is refreshed for any reason, the indicator is reinitialized. If you want to avoid some part of the code being executed when the indicator is initialized, you will need to implement your own logic that will keep track of the indicator state e.g. write the state in a file.

Best Regards,

Panagiotis 

Join us on Telegram

Thank you for the answer, i'm quite new to coding calgo, is there a guide or something to do what you suggested ? 


@sessialessio