Hi, been testing and tweaking my new EA all day but I've run into a snag - The strategy tester now gets through about 1/5 of the way through the data and then returns the results without finishing the test. If I put it in visual mode, the price sometimes just hovers in the same spot changing by only a pip or two, or it runs as normal but quits after getting 1/5 of the way through. I think it has something to do with the symbol data because other symbols complete the test normally. Is there a cache that I can clear or something to reset the data?
- Back testing in the strategy Tester
- My EA works in multiple time frames but data in backtest isn t working
- Mt4 Strategy tester Cache issues ?
hoborg:
Hi, been testing and tweaking my new EA all day but I've run into a snag - The strategy tester now gets through about 1/5 of the way through the data and then returns the results without finishing the test. If I put it in visual mode, the price sometimes just hovers in the same spot changing by only a pip or two, or it runs as normal but quits after getting 1/5 of the way through. I think it has something to do with the symbol data because other symbols complete the test normally. Is there a cache that I can clear or something to reset the data?
What size is your .fxt file ? have you checked your code for infinite loops ?
Hi, been testing and tweaking my new EA all day but I've run into a snag - The strategy tester now gets through about 1/5 of the way through the data and then returns the results without finishing the test. If I put it in visual mode, the price sometimes just hovers in the same spot changing by only a pip or two, or it runs as normal but quits after getting 1/5 of the way through. I think it has something to do with the symbol data because other symbols complete the test normally. Is there a cache that I can clear or something to reset the data?
missing history? Divide by zero.
RaptorUK:
What size is your .fxt file ? have you checked your code for infinite loops ?
What size is your .fxt file ? have you checked your code for infinite loops ?
Thank you for your reply. The code uses no loops, it was working fine in the backtests but after I ran an optimization on three parameters using control points, the problems started. Other currency pairs test fine, only EURUSD is affected. Where can I find the .fxt file? I searched program files for it but found nothing.
hoborg:
Thank you for your reply. The code uses no loops, it was working fine in the backtests but after I ran an optimization on three parameters using control points, the problems started. Other currency pairs test fine, only EURUSD is affected. Where can I find the .fxt file? I searched program files for it but found nothing.
The .fxt file is in your MT4 folder/tester/history
Thank you for your reply. The code uses no loops, it was working fine in the backtests but after I ran an optimization on three parameters using control points, the problems started. Other currency pairs test fine, only EURUSD is affected. Where can I find the .fxt file? I searched program files for it but found nothing.
RaptorUK:
The .fxt file is in your MT4 folder/tester/history
The .fxt file is in your MT4 folder/tester/history
The error I got is "stopped because of Stop Out" I was able to fix the problem by decreasing the risk percentage. It was set at 6% and somehow this was triggering orders over the limit. Now the strategy tester runs normally but the optimization is not working - it discards all pass results as irrelevant. Maybe my strategy is just shit? Lol entirely possible.
hoborg:
The error I got is "stopped because of Stop Out" I was able to fix the problem by decreasing the risk percentage. It was set at 6% and somehow this was triggering orders over the limit. Now the strategy tester runs normally but the optimization is not working - it discards all pass results as irrelevant. Maybe my strategy is just shit? Lol entirely possible.
The error I got is "stopped because of Stop Out" I was able to fix the problem by decreasing the risk percentage. It was set at 6% and somehow this was triggering orders over the limit. Now the strategy tester runs normally but the optimization is not working - it discards all pass results as irrelevant. Maybe my strategy is just shit? Lol entirely possible.
Please familiarise yourself with the forum rules . . . https://www.mql5.com/en/users/register
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