Download MetaTrader 5
To add comments, please log in or register
Do you want to learn MQL5? 300 articles will help you!
stanislass
61
stanislass 2015.04.07 13:33 
hello everyone

In MT4

In the tester is it possible to automatically eliminate some tests optimization?


For example: In an EA I have the option to use (true) or not (false) the parameter "traillingstop."
With TS = true, the tester evaluates the parameter "distance". ok
But with TS = false, "distance" is useless.

Is it possible to automatically not evaluate "distance" if TS = false?

Or I have to do two separate test.
-1st: TS = true and "distance"

-2nd: TS = false but not "distance"?

Thank you in advance and sorry for my bad english (I need to improve myself !!!) 

whroeder1
13610
whroeder1 2015.04.07 18:42  
If TS == false have OnInit return INIT_PARAMETERS_INCORRECT when distance is not minimum to skip them.
stanislass
61
stanislass 2015.04.07 21:50  

hummm ... if TS == false, distance is okay, but useless : Time wasting.

I'll look OnInit ().

Thank you.

stanislass
61
stanislass 2015.04.08 08:43  

 

Ultimately two separate tests reveal best parameters hidden by genetic algorithm !!!

good to know
Bruce
4
Bruce 2015.04.09 11:12  
that's pretty interesting thank you
/
To add comments, please log in or register