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.

How to translate method "4 ticks at OHLC" from IClientTester on IClient?
 Post subject: How to translate method "4 ticks at OHLC" from IClientTester on IClient? Post rating: 0   New post Posted: Thu 06 Jun, 2013, 22:37 
User avatar

User rating: 0
Joined: Sat 21 Apr, 2012, 20:28
Posts: 12
Location: Ireland, Dublin
I used "4 ticks on OHLC" for my testing and results are good for my strategy only when I use this interpolation method.
The problem is that in real trading I have only real data for every tick. I need to create simulation of method "4 ticks on OHLC".

Please tell how I can change the data received in onBar to simulate "4 ticks on OHLC" interpolation method?


 
 Post subject: Re: How to translate method "4 ticks at OHLC" from IClientTester on IClient? Post rating: 0   New post Posted: Fri 07 Jun, 2013, 07:14 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
astropata wrote:
Please tell how I can change the data received in onBar to simulate "4 ticks on OHLC" interpolation method?
Well, you can't. Although you can filter ticks in the onTick, you can't predict if the current low/high will be the low/high of the current candle which has not completed yet.


 

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