Hi
To begin coding a trading strategy that uses bars (not ticks), I undestand how to use this following method call in OnBar() to get up and down fractals by shift:
double[] fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
int shift)
throws JFException
However, I don't understand how to use the following method to get up fractals (maximums) and down fractals (minimums) within a certain bar time interval:
double[][] fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
long from,
long to)
throws JFException
Any example or explanation is appreciated.
Thanks