Custom Fitness Function

if (StrategyPerformance.MaxStrategyDrawDown != 0) {
if (StrategyPerformance.GrossLoss != 0) {
return 1000000 * StrategyPerformance.NetProfit / (-StrategyPerformance.GrossLoss) / (-StrategyPerformance.MaxStrategyDrawDown);
}
}


About this entry