Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

How to access historical data with different period than indicator chart period?
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57418
Page 1 of 1

Author:  mese79 [ Tue 18 Aug, 2020, 06:33 ]
Post subject:  How to access historical data with different period than indicator chart period?

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?

Author:  vadim_berezhnoj [ Thu 03 Sep, 2020, 16:38 ]
Post subject:  Re: How to access historical data with different period than indicator chart period?

Greetings.

Strategy can create custom data feed and get historical values from it.
https://www.dukascopy.com/wiki/en/devel ... ents/feeds
https://www.dukascopy.com/wiki/en/devel ... story-bars

Regards.

  Page 1 of 1