Download MetaTrader 5

MT4 Strategy Tester Skipping Passes?

To add comments, please log in or register
Publish programs in Code Base. Improve your rating!
Tom Satori
7
Tom Satori 2015.09.05 02:36 

Hi all,

I'm very new to Strategy Tester and have a hopefully easy question. I'm testing a simple EA that closes trades based on fixed stops and targets.

If you note my optimizing variables below, I'm testing a stop every 4p from 14p up to 40p (7 passes), and a profit every $4 from $10 up to $130 (31 passes) - equalling (7 x 31) = 217 combinations.


My first question is when I run the test, why does the Settings tab display 1,280 (308) (highlighted yellow)?


My second question is why would the tester only return 70 passes? The highlighted 20 in the above image skips every 2 to 3 numbers until 70, then it skips to the end.


I have

  • unchecked "skip useless passes" and can confirm there are negative-balance passes among the 70 Optimization Results;
  • nothing checked in the "Optimization" tab in Expert Properties;
  • cleared Tester/Cache.
Zirkon
122
Zirkon 2015.09.05 10:07  

Because you are using the Genetic Algorithm.

See https://www.mql4.com/search#!keyword=genetic%20algorithm

To add comments, please log in or register