Dukascopy
 
 
Wiki JStore Search Login

JFOREX-1482 ArrayIndexOutOfBoundsException in OsMA
 Post subject: JFOREX-1482 ArrayIndexOutOfBoundsException in OsMA Post rating: 0   New post Posted: Mon 01 Feb, 2010, 01:38 

User rating: -
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


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com