Usages for TesterStop

 

Hey, guys!


As the documentation well says, the function TesterStop can be used when the account reaches a pre-defined drawdown or when a certain amount of trades are executed to stop current testing. But I'm looking for other usages for it, since it drastically speeds up the optimization testing. Any ideas?

 
Emanuel Amorim:

Hey, guys!


As the documentation well says, the function TesterStop can be used when the account reaches a pre-defined drawdown or when a certain amount of trades are executed to stop current testing. But I'm looking for other usages for it, since it drastically speeds up the optimization testing. Any ideas?

Maybe stop the test if number of consecutive loss trades have exceeded a pre-determined number?

or if you want to test the EA for it's profit speed (i.e. if the current profit is greater than %10 of initial balance, stop the test, and return sth in OnTester to take track of time (like 10000-DaysPassed))