Complex Criterion Max - how to implement it

 

Hello guys!

I'm trying to implement a Custom Max to my OnTester() using combinations of ENUM_STATISTICS, cause I want to give a "faster track" to a custom optimized result. I mean, I want the best result for a minimum trade rate of 10/week. COMPLEX CRITERION MAX does the job, but the balance of its code alway point to a solution lower than 5/week. 

So, what I want to do is developing my own Custom Max as close to Complex Criterion Max, but with the flexibility of changing the weight of each variable (ENUM_STATISTCS).

I read many articles and researched here in the Forum and I didn´t find anything but very short descriptions of its release.

So, if you guys have an advice or just a starting point to implement it by myself, I would appreciate it!

Thank you!