Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

5m strategy stops everytime market closes
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=55059
Page 1 of 1

Author:  HAPPYMAN [ Tue 28 Mar, 2017, 17:43 ]
Post subject:  5m strategy stops everytime market closes

Hi, please look at attached strategy. Every Friday it crashes exactly at the moment of market close. It reports java.lang.ArrayIndexOutOfBoundsException. I guess it has something with 5m indicator used there.
Added a filter for weekend candles, but no change in the end..

Please help

Attachments:
test_exception.vfs [39.66 KiB]
Downloaded 136 times
strategy_log.txt [2.97 KiB]
Downloaded 106 times

Author:  amine_chourou [ Mon 03 Apr, 2017, 16:01 ]
Post subject:  Re: 5m strategy stops everytime market closes

Hi,

We're looking at this, we'll keep you posted

Thanks

Author:  HAPPYMAN [ Thu 13 Apr, 2017, 17:51 ]
Post subject:  Re: 5m strategy stops everytime market closes

Hi Amine. Thank you very much, I'll wait.

Author:  amine_chourou [ Fri 14 Apr, 2017, 16:52 ]
Post subject:  Re: 5m strategy stops everytime market closes

Hi,

This would take more time than expected but there is a workaround to bypass this problem:
Export your strategy to Jforex platform and run it there with the following setting activated:
In Jforex platform > Preferences > Advanced > Advanced setting sub-tab > Deactivate the option "Stop strategies on exception"

Cheers

Author:  HAPPYMAN [ Thu 20 Apr, 2017, 16:50 ]
Post subject:  Re: 5m strategy stops everytime market closes

Hi,
thank you, I'll try. I assume this will work only for strategies ran locally, right? Or will it help also for remote run?
thanks

Author:  amine_chourou [ Tue 25 Apr, 2017, 14:37 ]
Post subject:  Re: 5m strategy stops everytime market closes

Hi,

it works for both local and remote run.
Let me know if you encounter any issue.

Author:  HAPPYMAN [ Tue 16 May, 2017, 10:20 ]
Post subject:  Re: 5m strategy stops everytime market closes

Hi amine,
sorry for delay in response. Thanks for your help. No issues now :)

  Page 1 of 1