Hello,
Doing a simple call of a minMax indicator produces "05:04:31 Error in indicator: java.lang.NullPointerException @ com.dukascopy.indicators.ZigZagIndicator2.calculate(ZigZagIndicator2.java:100)"
The offending code is a simple call to another indicator as shown in your examples.
int shiftminmax = 1;
try {
double[] minMax = indicators.minMax(Instrument.EURUSD, Period.ONE_MIN, OfferSide.BID, AppliedPrice.CLOSE, 5, shiftminmax);
}
catch (Exception e) {
icontext.getConsole().getOut().println(e);
}
Would like a response today if possible. thx!
TBB