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

 
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!
 
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.

 
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.