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.