Bars.LoadMoreHistoryAsync(Action) not working ?

Created at 14 Dec 2020, 22:42
CT

ctid2936272

Joined 14.12.2020

Bars.LoadMoreHistoryAsync(Action) not working ?
14 Dec 2020, 22:42


Should Bars.LoadMoreHistoryAsync(Action) work in my custom indicator called inside a Chart.MouseDown event handler ?

Thankyou


@ctid2936272
Replies

PanagiotisCharalampous
15 Dec 2020, 08:16

Hi ctid2936272,

You need to be more specific about your issue. Please provide us the complete indicator code and explain what do you expect it to do and what it does instead.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

ctid2936272
15 Dec 2020, 23:05 ( Updated at: 16 Dec 2020, 19:12 )

Conclusion Indicator instance lost when calling Bars.LoadMoreHistoryAsync(Action callback)

Essentially after I call Bars.LoadMoreHistoryAsync(Action callback) my Indicators Instance is Refreshed / Re-Created hence my Indicators callback action is no longer alive for the callback :(

The good news is the Bars.LoadMoreHistoryAsync() does work.


@ctid2936272