Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Historic tick data
 Post subject: Historic tick data Post rating: 0   New post Posted: Thu 19 Jul, 2012, 23:08 

User rating: 0
Joined: Sun 22 Apr, 2012, 19:19
Posts: 54
Location: United KingdomUnited Kingdom
Hello Support

I am working on a strategy that uses adjusted renko bars. I create these from tick data. However, the strategy needs a week's worth of back candles to calculate indicators that I also need to generate from tick data.

I looked at using the file Renkotradingstrategy.java attached to post viewtopic.php?f=65&t=47069&p=63780&hilit=getHistory#p63780 to generate the candles, but I am having difficulty working out how to start creating the candles at the start point of historic data and not the current tick.

Can you please assist?

Tin


Attachments:
RenkoTradingStrategy.java [5.96 KiB]
Downloaded 298 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: Historic tick data Post rating: 0   New post Posted: Fri 20 Jul, 2012, 09:43 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The example you refer to uses a highly unrecommended approach, please see our comments on this in our posts there. Consider reading the renko bars the following way:
https://www.dukascopy.com/wiki/#Feed_history/Renko_bar_asynchronous_loading


 
 Post subject: Re: Historic tick data Post rating: 0   New post Posted: Fri 20 Jul, 2012, 10:50 

User rating: 0
Joined: Sun 22 Apr, 2012, 19:19
Posts: 54
Location: United KingdomUnited Kingdom
Thanks

The thing is, I am calculating adjusted renko bars using midpoints, so loading historic bars wont work. I understand the comments and am ok to use readTicks etc. Also, I am only looking to get a few days data and not 60! :)

Can you assist?


 
 Post subject: Re: Historic tick data Post rating: 0   New post Posted: Fri 20 Jul, 2012, 11:28 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/wiki/#Custom_renko_aggregation


 

Jump to:  

  © 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