Download MetaTrader 5

Getting day candles in incomplete state from history data ( Day candle what hasn't completly formed )

To add comments, please log in or register
Create interesting Forum topics concerning the automated trading!
meiti
114
meiti 2016.05.08 19:25 
Hello everyone!

I want to get a Day candle in the middle of the day from the history data but the thing is that
I want it to be unformed.

Usually if copy the day candle from history data and the time is yesterday or earlier then we're gonna get the fully formed day candle.
What I want is to simulate the price action for day candle like in strategy tester.

There is a way for me to do it, I'll have to use 1 minute candles and add them together to get that unformed day candle but i was hoping maybe
there is a function what exists already so i don't have to code that special function what will recalculate that unformed day candle.

Thanks!
To add comments, please log in or register