You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I don't like all those mismatched data errors. Open a GBPUSD chart, M1, right mouse click Refresh. Then click up through M5, M15, M30, H1 to whatever timeframe you are setting the strategy tester to refreshing as you go. Set the strategy tester to not more than 2 months ago and try again.
I have refreshed M15 chart today (14th May 2012 Monday) Now there are no mismatched data errors in journal. But still this Ea is not working in tester even after refreshing data, when tested with data on 9th may 2012 where the condition in EA is met with. When I tested with data on 10th May 2012 it worked by satisfying the condition in EA
I don't like all those mismatched data errors. Open a GBPUSD chart, M1, right mouse click Refresh. Then click up through M5, M15, M30, H1 to whatever timeframe you are setting the strategy tester to refreshing as you go. Set the strategy tester to not more than 2 months ago and try again.
I did as you said. But still this problem is there. So I added a variable diff in my program to see the value through comment() function.
When I run the EA on date 9th May 2012 where the condition is met, the value of diff is displayed as zero. But on 10th May 2012, the condition is met and value is displayed and EA was working on 10th May 2012.
sunilkumarks46:
diff is displayed as zero. But on 10th May 2012, the condition is met and value is displayed and EA was working on 10th May 2012.
Add Print statements. Did you even call the OrderSend? Did you check the return code to see if it worked? What was the error code?
There are no mind readers here. YOU must find out WHY.
I have refreshed M15 chart today (14th May 2012 Monday) Now there are no mismatched data errors in journal. But still this Ea is not working in tester even after refreshing data, when tested with data on 9th may 2012 where the condition in EA is met with. When I tested with data on 10th May 2012 it worked by satisfying the condition in EA
I have checked my EA. There are no errors in the code. The problem is in the test generator unmatched data. How to solve this unmatched data error in strategy tester. Earlier my friend Mr Dabbler posted a solution but I could not follow it. Are there any post / link giving more details on fixing this issue?
sunilkumarks46:
Earlier my friend Mr Dabbler posted a solution but I could not follow it.
That's Sith Lord Dabbler to you :-)
Does this history error mean that you do not get problems on other pairs, eg EURUSD, EURJPY, GBP,JPY etc?
You might try deleting the relevant history files and just loading data from MetaQuotes using Tool | History centre. This is just to get you going again.
Help please! Can I use MT4 strategy tester on weekends? If yes how please.
Of course you can. Download the necessary currency pair history from MT4/5 >> Tools >> History Center and run your backtest.