Restricting optimization of parameters to matching values
-
When you optimise a range of values for various parameters, you get to specify the start, step and end values but in some cases you end up testing a lot of combinations you are not interested in.
For example if I have a block that checks to see if MA was greater than the same MA, x periods ago ( ie, checking to see if MA was rising), that's easy enough to do. The 'problem' arises if I then want to optimise for a range of MA values say 5 to 15, with step 5. Ideally, I would like to only compare MA 5 with MA 5, and MA 10 with MA 10 etc, but of course the optimiser will also compare MA 5 with MA 10 and MA 15. Obviously it gets worse the more steps you have.
Is there any way to design the algorithm in fxdreema so that optimization can be restricted to matching values?
-
@tonyramirez AFAIK, no. I'm afraid optimization cannot be modified from the EA itself. However, I may be wrong, of course.
-
@l-andorrà I thought it might be done using variables somehow but haven't figured out if it's possible.
-
@tonyramirez If you want matching values, use the same constant for both MAs

In case constants are new to you, you can declare them in Constants (Inputs) menu and then insert to any field by right-clicking

-
@roar said in Restricting optimization of parameters to matching values:
@tonyramirez If you want matching values, use the same constant for both MAs

In case constants are new to you, you can declare them in Constants (Inputs) menu and then insert to any field by right-clicking

Thanks for that! Until now I hadn't got round to using variable and constants.