I want to use the following version of readBars, but it doesn't seem to support filtering of flats.
com.dukascopy.api.IHistory.readBars(Instrument instrument, Period period, OfferSide side, long from, long to, LoadingDataListener barListener, LoadingProgressListener loadingProgress)
It seems to be too much trouble to try to working out then number of bars candles between two dates that are more than a few days apart, so I would rather not use the alternative version.
com.dukascopy.api.IHistory.readBars(Instrument instrument, Period period, OfferSide side, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter, LoadingDataListener barListener, LoadingProgressListener loadingProgress)
Can you help?