**benjamer12:**

Just having my computer run through optimization on an EA, and curious what these numbers are at the bottom of the screen. I figure the XXX/YYYY number is the number of iterations completed/total iterations needed to be tested using the optimization criteria I set, but just curious what the number in (ZZZZ) parentheses means? In this image it is 198,000 but I have seen it over 1,000,000 on other backtesting optimization runs. Just curious.

I think it is the number of passes if the genetic algorithm was not on

**benjamer12:**

Just having my computer run through optimization on an EA, and curious what these numbers are at the bottom of the screen. I figure the XXX/YYYY number is the number of iterations completed/total iterations needed to be tested using the optimization criteria I set, but just curious what the number in (ZZZZ) parentheses means? In this image it is 198,000 but I have seen it over 1,000,000 on other backtesting optimization runs. Just curious.

You are using a "fast" genetic algorithm for optimisation.

- The first number is the number of completed passes (i.e, XXX)
- The second number is the anticipated or estimate of total number of passes (i.e. YYYY)
- The third number in parentheses is the total number of passes had it been a complete "slow" optimisation instead of the "fast" optimisation (i.e. ZZZZ)

Forum on trading, automated trading systems and testing trading strategies

What is the limit of the number of variables, steps and passes during optimization under MT5?

Fernando Carreiro, 2023.01.04 13:23

I think that what may be happening to you is that you are using the "

" for your optimisations.Fast genetic based algorithmInstead choose the "

" and you will not have a problem with limits (see below)Slow complete algorithm

Forum on trading, automated trading systems and testing trading strategies

What is the limit of the number of variables, steps and passes during optimization under MT5?

Fernando Carreiro, 2023.01.04 13:45

For example, in the following I have selected only one parameter and defined a start, step and stop for it which will result in 51 passes.

**Fernando Carreiro #:**

You are using a "fast" genetic algorithm for optimisation.

- The first number is the number of completed passes (i.e, XXX)
- The second number is the anticipated or estimate of total number of passes (i.e. YYYY)
- The third number in parentheses is the total number of passes had it been a complete "slow" optimisation instead of the "fast" optimisation (i.e. ZZZZ)

Thank you so much!! That helps out a lot just wanting to understand it. It just takes so long to try to run through all the different variables at once. I don't think the MT4 I have gives me much of a choice, I only have a box to check on if I want to optimize, and on the properties window a box to check of whether the optimization uses a generic algarythim or not. And what it is optimizing for, balance, drawdown...

**Files:**

**benjamer12 #:**Thank you so much!! That helps out a lot just wanting to understand it. It just takes so long to try to run through all the different variables at once. I don't think the MT4 I have gives me much of a choice, I only have a box to check on if I want to optimize, and on the properties window a box to check of whether the optimization uses a generic algarythim or not. And what it is optimizing for, balance, drawdown...

The screenshots I provided before were for MT5, but on MT4, it does give you choices too.

Click on the * "Expert Properties"* button and select which inputs you want to optimise and the "Start", "Step" and "Stop" values for each one.

**Fernando Carreiro #:**

The screenshots I provided before were for MT5, but on MT4, it does give you choices too.

Click on the * "Expert Properties"* button and select which inputs you want to optimise and the "Start", "Step" and "Stop" values for each one.

**Files:**

**benjamer12 #:**On my report it shows that the max drawdown was like 40%, or $2,000 or close to it, but I downloaded the full history into an Excel, graphed it, and even on the graph in the strategy tester I'm not seeing any major drawdown, just curious how that is calculated, if it is actually accurate.

The drawdown value presented is based on equity, not balance — Results - Strategy Testing - Auto Trading - MetaTrader 4 Help

Relative drawdown– the maximal loss in percents of thevalue and its corresponding money value;maximum equity

- www.metatrader4.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets

You agree to website policy and terms of use

Files: