Can I run Ontick function for multiple times within one run?

QTZ  
I want to make my EA run multiple times with every possible settings and determine the best possible settings for the EA.

Is it possible to do it within mql5?

Thank you!
Enrique Dangeroux  
QTZ:
I want to make my EA run multiple times with every possible settings and determine the best possible settings for the EA.

Is it possible to do it within mql5?

Thank you!

Sure. If you code it that way, no problem.

William Roeder  
QTZ: I want to make my EA run multiple times with every possible settings and determine the best possible settings for the EA.

That is called optimization. Put the tester in optimization mode.

Reason: