Default values for optimization parameters

 

Hi, I am trying to define the default values for the values "start" "step" "stop" in the optimization.


in the set file it may looks like this: 

Trailingstep=1||1||1||10||Y

But how do I hardcode the range in the EA code?

input int Trailingstep=1||1||10||Y;

does not work. 

any pointers?

 
waxwell:

Hi, I am trying to define the default values for the values "start" "step" "stop" in the optimization.


in the set file it may looks like this: 

But how do I hardcode the range in the EA code?

does not work. 

any pointers?

You can't do that right in the input. You need to use ParameterSetRange().
 
Alain Verleyen:
You can't do that right in the input. You need to use ParameterSetRange().

Thanks!