Download MetaTrader 5

Counting optimization passes during optimization process

To add comments, please log in or register
coiler
283
coiler  

Hi all,

how can i count optimization passes to write them into a csv?

int deinit()

{    
if (IsOptimization()){
         // Counting passes      
}
}

Wich approach use? 

Thank you 

Alain Verleyen
Moderator
35129
Alain Verleyen  
Use OnTester(). See documentation.
coiler
283
coiler  
Alain Verleyen:
Use OnTester(). See documentation.

Thanks Alain,

but i need to dump the number of the optimitazion pass not the backtests result.

Regards. 

Alain Verleyen
Moderator
35129
Alain Verleyen  
coiler:

Thanks Alain,

but i need to dump the number of the optimitazion pass not the backtests result.

Regards. 

I understood the question.

coiler
283
coiler  
Alain Verleyen:

I understood the question.


Thanks Alain, could you give me an example?.

 

Regards 

Alain Verleyen
Moderator
35129
Alain Verleyen  
coiler:

Thanks Alain, could you give me an example?.

 

Regards 

Please do some researches.

Once you have something coded, come back if you have still some problems.

coiler
283
coiler  
Alain Verleyen:

Please do some researches.

Once you have something coded, come back if you have still some problems.

Thanks for the reference Alain.
To add comments, please log in or register