Is there a way to make the Walk-Forward process to only Forward-Test the Parameters that had a Positive Net-Profit on the optimization?
for example:
Optimization Result # 1 (Best Parameters 5/3/5) +$1000 ==> Forward-Test.
Optimization Result # 2 (Best Parameters 5/2/1) +$2500 ==> Forward-Test.
Optimization Result # 3 (Best Parameters 2/9/6) -$1700 ==> Don't Forward-Test.
Optimization Result # 4 (Best Parameters 4/2/3) +$2500 ==> Forward-Test.
Optimization Result # 5 (Best Parameters 2/8/7) -$4000 ==> Don't Forward-Test.
protected override void OnCalculatePerformanceValue(StrategyBase strategy)
{
Value = strategy.SystemPerformance.AllTrades.TradesPerformance.NetProfit;
}
Thank you.
Comment