Dukascopy
 
 
Wiki JStore Search Login

Problem with new time periods
 Post subject: Problem with new time periods Post rating: 0   New post Posted: Sat 18 Feb, 2012, 22:25 

User rating: 0
Joined: Tue 11 Oct, 2011, 20:13
Posts: 64
Location: India,
I can see in the dialog box at the time of starting the historical test new time periods, like 6, 8, 12 hours, more days etc. However these new periods are not working. When I setup 1 Day, it is working well. But with 12 hours or merge Sunday daily candles into Monday are not doing anything. The time is going on, but the strategy is not doing anything.


 
 Post subject: Re: Problem with new time periods Post rating: 0   New post Posted: Thu 23 Feb, 2012, 14:12 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
We could not find the problem so far. Methods onTick, onBar are working well on 12 hours.


 
 Post subject: Re: Problem with new time periods Post rating: 0   New post Posted: Thu 23 Feb, 2012, 14:16 

User rating: 0
Joined: Tue 11 Oct, 2011, 20:13
Posts: 64
Location: India,
Can you show me a program code wich was working well for you?


 
 Post subject: Re: Problem with new time periods Post rating: 0   New post Posted: Mon 27 Feb, 2012, 09:49 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
You need to subscribe for the custom periods:
https://www.dukascopy.com/wiki/#Custom_period

Sample is attached.


Attachments:
Strategy_TimePeriods.java [1.94 KiB]
Downloaded 381 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: Problem with new time periods Post rating: 0   New post Posted: Mon 27 Feb, 2012, 15:31 

User rating: 0
Joined: Tue 11 Oct, 2011, 20:13
Posts: 64
Location: India,
Thank you, now I understand.


 

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