Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Strange indicators.ma() behavior - ArrayIndexOutOfBoundsException http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=57301 |
Page 1 of 1 |
Author: | fxer [ Thu 26 Mar, 2020, 15:02 ] | ||
Post subject: | Strange indicators.ma() behavior - ArrayIndexOutOfBoundsException | ||
Hello, I have the following code: package jforex.simpletests; For SMAPeriods = 10it works fine, but for SMAPeriods = 30it returns empty SMAs table, what generates Quote: 13:58:25 java.lang.ArrayIndexOutOfBoundsException: 0 @ jforex.simpletests.TestEmptySMA.onStart(TestEmptySMA.java:30) I do not know if that is the cause, but it was working fine before JForex 3.6.14. What might be the cause? Should I handle this in different way now? Best regards, FXer
|
Author: | API Support [ Tue 26 May, 2020, 17:34 ] |
Post subject: | Re: Strange indicators.ma() behavior - ArrayIndexOutOfBoundsException |
Hello. That issue was fixed in JForex 3.6.18 Kind regards. |
Page 1 of 1 |