I want to optimize the exittime of an strategy. So I used an integer valued strategy parameter and the method ToTime(). The results are perfect.
But how do I skip uncorrect times like 106600 (so the 66th minute of an hour)? I increment by 100 which means by 1 minute. This only makes sense from 0 to 59 (not to 99).
Is there a way that I can set the result of an backtest / optimization to "null" / "undefined" / no result. So that the optimization graph does not show it...
Regards,
Martin
Comment