Hi, i would like to know if there is a way for reduce combinations numbers!
For example... I have two parameters where the second depends on the first value:
strategy.parameters:addString("usema", "Use EMA indicator", "", "YES");
strategy.parameters:addStringAlternative("usema", "YES", "", "YES");
strategy.parameters:addStringAlternative("usema", "NO", "", "NO");
strategy.parameters:addString("closeema", "Close position when EMA is over", "", "YES");
strategy.parameters:addStringAlternative("usema", "YES", "", "YES");
strategy.parameters:addStringAlternative("usema", "NO", "", "NO");
In this situation i have 3 combinations, not 4. Where first is NO and second is YES have no sense (the same result of NO NO because I do not consider the second option in the strategy if the first is NO).
A trick is to exit from ExtUpdate function when i want to exclude a particular combination, but this still returns a result (0 value) and I think this affects the optimizer in the choice of conbinations to be processed.
any other ways?
thanks