Times and Timezones with Tickstory Data
Posted: Thu Nov 03, 2016 9:29 pm
Hello,
How does tickstory map data to bars in metatrader?
I've been running backtests with the S&P500 and seeing some strange things. In my data, in 2012 the first candle on each day has a time of 0700, which on the next candle switches to 1430, the daily period then runs 1430-2130. So this seems to be the US market times but on UK GMT time. Apart from the 0700 this makes sense as I output data in UTC timezone.
The problem is I continue the backtest and then in 2013 the daily periods (between the period separators in MT4) change to 1130-2000. Then in 2014 it changes again to 0000-2300, and in 2015 the daily periods change again to 0600-2000, and then 0700-2100.
My EA I am testing trades at certain of the day, so I need to know when to change the settings during the backtests.
1) How does Tickstory map the data to bars/times?
2) If I select UTC/GMT/etc when outputting to MT4 does it work to this time or does the broker time in the terminal affect things in some way?
3) Does the data take into account changes in daylight savings time during the backtest automatically? (Looks like it does from the changes described above)
4) Why do the times change significantly in this way in my backtest? Has anyone seen this before? What could drive this? Could I have made a mistake in the "output to MT4" or something?
Any help much appreciated!
Thanks.
How does tickstory map data to bars in metatrader?
I've been running backtests with the S&P500 and seeing some strange things. In my data, in 2012 the first candle on each day has a time of 0700, which on the next candle switches to 1430, the daily period then runs 1430-2130. So this seems to be the US market times but on UK GMT time. Apart from the 0700 this makes sense as I output data in UTC timezone.
The problem is I continue the backtest and then in 2013 the daily periods (between the period separators in MT4) change to 1130-2000. Then in 2014 it changes again to 0000-2300, and in 2015 the daily periods change again to 0600-2000, and then 0700-2100.
My EA I am testing trades at certain of the day, so I need to know when to change the settings during the backtests.
1) How does Tickstory map the data to bars/times?
2) If I select UTC/GMT/etc when outputting to MT4 does it work to this time or does the broker time in the terminal affect things in some way?
3) Does the data take into account changes in daylight savings time during the backtest automatically? (Looks like it does from the changes described above)
4) Why do the times change significantly in this way in my backtest? Has anyone seen this before? What could drive this? Could I have made a mistake in the "output to MT4" or something?
Any help much appreciated!
Thanks.