I think it would be nice with a mode flag that would enable brute force optimization, which is useful when data mining. I know it's possible to do this now as well, but itīs VERY easy to make a mistake when you have many parameters to optimize. Already with three parameters you get something like this

Code:
int ZPeriods[8] = {20, 50, 75, 100, 150, 200, 250, 500};
var EntryThresholds[5] = {0.75, 1, 1.25, 1.5, 2};
var ExitThresholds[4] = {0.5, 1, 1.5, 2};
	
int Index = optimize(1, 1, 8*5*4, 1)-1;
int Period = ZPeriods[Index%8];
var EntryThreshold =  EntryThresholds[(Index/8)%5];
var ExitThreshold = EntryThreshold*(1 - ExitThresholds[(Index/(8*5))%4]);