How to access historical data with different period than indicator chart period?
mese79
Post subject: How to access historical data with different period than indicator chart period?
Post rating: 0
Posted: Tue 18 Aug, 2020, 06:33
User rating: 0
Joined: Fri 17 Jul, 2020, 09:10 Posts: 5 Location: United Arab Emirates, Dubai
Hi I'm developing an indicator which needs to know each day start price. I know I have context.getHistory() to access historical data but it only works with the current chart period. For example if I'm in H1 I can not get Daily price(history.getBar(...) returns Null). Is there any solution or workaround for this?
vadim_berezhnoj
Post subject: Re: How to access historical data with different period than indicator chart period?