Dukascopy
 
 
Wiki JStore Search Login

Problem with strategy after few months break
 Post subject: Problem with strategy after few months break Post rating: 0   New post Posted: Mon 13 Feb, 2017, 14:55 

User rating: 0
Joined: Fri 04 Mar, 2016, 20:55
Posts: 12
Location: PolandPoland
Hi,
after few month break I return to my strategy. And I encounter error:
a) when I start strategy from 01.01.2016 all my strategies (all variants) stop in simulation mode at 14.40 02.01.2016 with error:

13-02-2017 14:40:47.913 ERROR StrategyRunner -
java.lang.ArrayIndexOutOfBoundsException
Strategy tester: java.lang.ArrayIndexOutOfBoundsException
null: java.lang.ArrayIndexOutOfBoundsException
13-02-2017 14:40:47.913 ERROR TesterClientImpl$DefaultStrategyExceptionHandler - Exception thrown while running onBar method: null
java.lang.ArrayIndexOutOfBoundsException

When I am not include this day at simulation mode everything looks fine (I flushed this day from cache directory, nothing change)

b) and second problem, when I'm logging errors to java console I will received logs of one my variable:
expression: Output{id=0,name=,value=0.0, variableName=_TmpDiffBB,isVariable=true,expression=("_UpperBB"-"_LowerBB")*10000

I don't know why (why only this) ?
Thanks for looking
Pem


 
 Post subject: Re: Problem with strategy after few months break Post rating: 0   New post Posted: Tue 14 Feb, 2017, 13:27 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi there,

Thanks for the detailed information. This error arises in more than a single case, I've seen this happening with Fractal indicator for example when the parameters are not set properly but in order to investigate this in depth I need your strategy file/

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