I have a question regarding optimization. I have a lot of filters with different parameters which I want to optimize at once.
For simplification reasons lets say I have 2 filters:
if (Close[0]-SMA(20)[0] > Parameter1)
Filter1 = true;
if (Close[0]-Bollinger(2,20)[0].Upper > Parameter2)
Filter2 = true;
So I want to test Parameter1 and Parameter2 each with values from 0 to 10 with an inrement of 1. But when testing Parameter1 values, I want the optimizer to skip the Parameter2 values. When I test the Parameter2, I want the optimizer to skip all Parameter1 values.
The reason is that I have a lot of filters with different filters which I want to test at once. Otherwise I would need to test each filter separately, which is not really practicable. If I would combine them, the optimizer would testoptimize for example Filter1 also with Parameter2 values, so I would get a lot of irrelevant results.
So the basic question is: How can I tell the optimizer to only optimize Parameter1 when testing Filter1 and to only optimize Parameter2 when testing Filter2 within the same strategy.
Thanks in advance!

Comment