What happens on Bars.Reloaded
What happens on Bars.Reloaded
06 May 2022, 10:24
Dear cTrader Team,
i would like to know what i have to care about / to do, if a reconnect happens.
So there is the following simple scenario:
1. Indicator instantiated through cAlgo
2. Initialize Method is called
3. I call Bars..LoadMoreHistory and set ResultOutput[x] (so just used the Output IndicatorDataSeries)
4. Bars.Reloaded occurs
Now i have the following questions:
1. The Bars.Reloaded does only load the "default" amount of bars, so i need to use LoadMoreHistory() again?
2. The Output-IndicatorDataSeries (and so the corresponding drawings in the indicator-ChartArea) remains, so i do not have to set ResultOutput[0-x] again?
3. The initial calculate through cAlgo from Bar 0 to last bar is called again (the abstract Calculate() method)?
Thank you in advance for your help.
Best regards,
Andi21
PanagiotisCharalampous
06 May 2022, 10:27
Hi Andi21,
Please post your questions in the relevant topic.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous