Dukascopy
 
 
Wiki JStore Search Login

5m strategy stops everytime market closes
 Post subject: 5m strategy stops everytime market closes Post rating: 0   New post Posted: Tue 28 Mar, 2017, 17:43 

User rating: 1
Joined: Tue 10 Jul, 2012, 11:51
Posts: 25
Location: Czech Republic,
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
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: 5m strategy stops everytime market closes Post rating: 0   New post Posted: Mon 03 Apr, 2017, 16:01 
Visual JForex expert at Dukascopy
User avatar

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

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

Thanks


 
 Post subject: Re: 5m strategy stops everytime market closes Post rating: 0   New post Posted: Thu 13 Apr, 2017, 17:51 

User rating: 1
Joined: Tue 10 Jul, 2012, 11:51
Posts: 25
Location: Czech Republic,
Hi Amine. Thank you very much, I'll wait.


 
 Post subject: Re: 5m strategy stops everytime market closes Post rating: 0   New post Posted: Fri 14 Apr, 2017, 16:52 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
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


 
 Post subject: Re: 5m strategy stops everytime market closes Post rating: 0   New post Posted: Thu 20 Apr, 2017, 16:50 

User rating: 1
Joined: Tue 10 Jul, 2012, 11:51
Posts: 25
Location: Czech Republic,
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


 
 Post subject: Re: 5m strategy stops everytime market closes Post rating: 0   New post Posted: Tue 25 Apr, 2017, 14:37 
Visual JForex expert at Dukascopy
User avatar

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

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


 
 Post subject: Re: 5m strategy stops everytime market closes Post rating: 0   New post Posted: Tue 16 May, 2017, 10:20 

User rating: 1
Joined: Tue 10 Jul, 2012, 11:51
Posts: 25
Location: Czech Republic,
Hi amine,
sorry for delay in response. Thanks for your help. No issues now :)


 

Jump to:  

cron
  © 1998-2024 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