I’m trying to run a backtest in MT4 for an EA. If I go to the history center and download the H1 data, and select the EA and set a period of, 2/1/09 to 2/1/10 (for example), it only gives me data for like two weeks.
In other words, even if I download ALL data and set the range for the backtest to a year, it only displays the results for a two week period. Any idea on what I’m doing wrong?
Strategy Tester can be really frustrating at times. I have encountered similar and even stranger glitches with it. It definitely isn’t you if you can see the desired data on the chart.
Are you checking the Visual Mode box? Try that.
If thats not the problem, then you have to try some strange things. I switched to ‘every tick’ mode and then back to ‘interval’ mode and things worked fine after that.
If all else fails try running it with another broker’s demo.
What’s weird is I can see the data in the History Center. When I open the back tester, select Megadroid, H1 timeframe, set dates as 2/1/10 to 2/25/10, model is Every Tick, and check visual (which I didn’t do before) – still only gives me about 10 days of data. It’ll go from 2/1 to 2/10, no problem and then just stop running the backtest.
I think you must have misunderstood my reply. I don’t think the problem is you or the data. It is Strategy Tester acts that way sometimes. It can be fine the day before or the day after. It just acts up from time to time for no reason I can understand and its not always the same symptoms. I suppose one other solution could be to reboot your computer.
The reason I recommended another broker is that I notice I have had more problems with it on FXCM than on FXDD even with the same set of historical data. It doesn’t make sense, it just is.
i think u might fail to download the currency u choose. i try download b4, no problem wit it. after choose curr, click all the ok, sometimes i hv to wait for 30 minutes for 10 years record
First make sure that you are on demo account because live price quotes feeds sometimes don’t download properly.
Then go to history and download the data and then click to download again to “Recalculate timeframes”. say YES. this will help to get rid of “mismatched chart errors”.
Finally restart MT4 so it is bug free and ready to backtest. i usually backtest on alpari uk broker. sometimes on iamfx.
one more advice - make sure the spread is low when you backtest! the tester uses the current spread for the whole history!!