Correction, although at http://www.zorro-trader.com/manual/en/functions.htm it is defined as objective()

It seems that the correct way to override the objective function in my later example according to the help file of Zorro 1.42 would be

Code:
var objective(PERFORMANCE * perf){
    return perf->vMean / perf->vStd;
}



even though the former should also work

Last edited by Mithrandir77; 04/24/16 21:43.