MT5 Strategy Tester - same setings - diffrent outcome?

 
I have a problem with the strategy tester in MT5. Why, with the same EA parameters and settings, does it show me great results once and then wipe my account in the next test? Let's say I test the EA on a 5-minute timeframe and I get great results, I change it to a 15-minute timeframe and I get great results, but when I go back to a 5-minute timeframe, the results are completely different. Can someone tell me what's going on, is there something wrong with the EA or the strategy tester?
 

It depends on the following:

  • how Ea was coded;
  • number of bars and ticks which were used in backtesting (it may be different numbers every time of backtesting, and the datafeed is related to the brokers only sorry);
  • some other factors.

----------------

read this discussion thread for more details:
Strategy testing vs reality

Strategy testing vs reality.
Strategy testing vs reality.
  • 2024.03.14
  • Herath Mudiyanselage Yasitha Naveendra Herath
  • www.mql5.com
Greetings everybody! I have been working on a meta trader 4 trading bot for a while...
 
Michael Charles Schefe #:

This should be already obvious, however, maybe not...

That would probably depend on the strategy. If the strategy depends on the timeframe that the chart is on, then, does it not seem obvious that changing the timeframe could break that strategy? And as Sergey said, there is other reasons that could happen, and does happen to me very ofte

Please read with understanding. When I do EA tests on a 5 minute time frame the results are great, when I do EA tests on a 15 minute time frame the results are great. When I go back and do EA tests on a 5 minute time frame again with the same parameters and settings as before the results are completely different.

 
Darek Pietraszewski #:

Please read with understanding. When I do EA tests on a 5 minute time frame the results are great, when I do EA tests on a 15 minute time frame the results are great. When I go back and do EA tests on a 5 minute time frame again with the same parameters and settings as before the results are completely different.

sorry, then, as sergey suggested, it is probably an author and coding issue.

 
Darek Pietraszewski:
I have a problem with the strategy tester in MT5. Why, with the same EA parameters and settings, does it show me great results once and then wipe my account in the next test? Let's say I test the EA on a 5-minute timeframe and I get great results, I change it to a 15-minute timeframe and I get great results, but when I go back to a 5-minute timeframe, the results are completely different. Can someone tell me what's going on, is there something wrong with the EA or the strategy tester?
The issue likely stems from a combination of data inconsistenciesEA timeframe dependencies or execution logic flaws. Start by standardizing test conditions and auditing the EA code for hidden assumptions about timeframes. If the problem persists, simplify the strategy or test it in a live demo account to validate its robustness.
 
Darek Pietraszewski:
I have a problem with the strategy tester in MT5. Why, with the same EA parameters and settings, does it show me great results once and then wipe my account in the next test? Let's say I test the EA on a 5-minute timeframe and I get great results, I change it to a 15-minute timeframe and I get great results, but when I go back to a 5-minute timeframe, the results are completely different. Can someone tell me what's going on, is there something wrong with the EA or the strategy tester?
I have exactly the same issue, EA code it is identical because it is a copy/paste, then parameters are the same, then in tester are using exactly the same conditions,dates everything it is the same because I run back to back, yet completely different results, same code, same parameters, same conditions, CRAZY!!!
Files:
 
super_edu2000 #:
I have exactly the same issue, EA code it is identical because it is a copy/paste, then parameters are the same, then in tester are using exactly the same conditions,dates everything it is the same because I run back to back, yet completely different results, same code, same parameters, same conditions, CRAZY!!!
Something is obviously different. To be able to investigate what, you would need to provide technical details. The easier to do that is to send the Journal logs of both backtests.
 
Darek Pietraszewski:
I have a problem with the strategy tester in MT5. Why, with the same EA parameters and settings, does it show me great results once and then wipe my account in the next test? Let's say I test the EA on a 5-minute timeframe and I get great results, I change it to a 15-minute timeframe and I get great results, but when I go back to a 5-minute timeframe, the results are completely different. Can someone tell me what's going on, is there something wrong with the EA or the strategy tester?
Sometimes the tester fails if you've been overworking it, especially with 'real ticks' enabled. If your PC is lagging, just restart the terminal and give it another go.
 

1. Post code we can give you a definitive answer then, even if its AI slop its probably something simple that's wrong

2. Our crystal balls are broken and we can't see your code lol