Page 1 of 1

Weekly chart testing on MT4

Posted: Thu Jun 18, 2015 7:21 am
by ivolux23
Hello All.

I`m new to EA testing and have to say big Thank you to Tickstory. Your software is fantastic. Only software that exports true New York trading hours charts - Big Thank You.

One of my strategies uses Weekly charts, I know Mt4 by default only allows testing up to Daily chart, but I can substitute MT4 Daily chart with weekly chart data, by just uploading weekly csv file to Daily charts in Mt4 history tool.
But the problem I have that if I run strategy tester it only then looks at shorter time frames from 1 day ( day weekly was opened) and not all week as obviously Mt4 thinks it is a Daily chart. As a result I can't truly test my EA as I miss all the weeks price action from tue to fri on all the shorter time frames and get bunch of price mismatch errors.

Has anyone used Strategy tester with weekly charts? Any ideas how to workaround this issue?

Thanks

Ps. If you are exporting weekly charts make sure start date is monday as otherwise you will get bars that start at middle of the week, had to learn that the hard way :)

Ivo

Re: Weekly chart testing on MT4

Posted: Thu Jun 18, 2015 1:55 pm
by ivolux23
p.s.s.
I can export weekly fxt file from Tickstory by default, but whats the point of it if there is no way to use it? :?:

Re: Weekly chart testing on MT4

Posted: Sat Jun 20, 2015 3:37 am
by tickstory
Hi Ivolux23,

Thanks for your feedback - much appreciated. Regarding testing with a weekly time-frame, that's a good question. Tickstory actually allows you export the weekly time-frame but in this case the tick (FXT) data is not used by MT4 - only the chart (HST) data. I'm not exactly sure what you would need to do to test in a weekly time-frame. Perhaps all that is necessary is to ensure all your indicators are explicitly specifying the weekly timeframe? There's some discussion about testing with alternate time-frames here:

https://www.mql5.com/en/articles/1368

Other than that, maybe some other users have some suggestions about how they have solved this problem.

Hope this helps.

Re: Weekly chart testing on MT4

Posted: Sat Jun 20, 2015 7:29 am
by ivolux23
Thanks for your answer.
Yes weekly fxt file can't be used with MT4, but hst files can. So all I had to do is change my EA to look at weekly time frame when making calls. It wasn't as difficult as I initially thought and now can run backtest on any time frame I want and EA would trade with Weekly chart data.

Thanks for your help