Hi
I am getting ArrayIndexOutOfBoundsException when calling the following OsMA indicator: indicators.osma(Instrument.EURGBP, Period.DAILY, OfferSide.BID, 1, 0);
com.dukascopy.api.JFException: java.lang.ArrayIndexOutOfBoundsException: 1 at com.dukascopy.api.impl.b.b(Unknown Source) at com.dukascopy.api.impl.b.a(Unknown Source) at com.dukascopy.api.impl.b.calculateIndicator(Unknown Source) at com.dukascopy.api.impl.b.osma(Unknown Source) at xxx.client.jforex.JForexIndicatorsAdapter.iOsMA(JForexIndicatorsAdapter.java:320) Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 ... 16 more
Any thoughts?
Thanks
|