I have some two inputs that I want to optimize. I only want a backtest certain combinations of the two inputs. I want to know where I can evaluate the inputs and cancel the backtest based on certain combinations of the two inputs.
For instance, say first input is bool and second input is int and I only want to optimize the range of values of second input when the first input = true;
Is there a command to use inside the OnStateChange() method to abort the backtest iteration? Intent is to evaluate the two inputs and in certain combinations I would abort the backtest.
Thanks,
Comment