How to translate method "4 ticks at OHLC" from IClientTester on IClient?
astropata
Post subject: How to translate method "4 ticks at OHLC" from IClientTester on IClient?
Post rating: 0
Posted: Thu 06 Jun, 2013, 22:37
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?
API Support
Post subject: Re: How to translate method "4 ticks at OHLC" from IClientTester on IClient?
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.