Optimization question.

 
Hello,

is there a way to write my own optimization formula? What I would like be able to sort my otimization results according to smoothness of the equity curve.

By the way, can somebody explain me a meaning of 'Optimization' tab in 'Expert Properties' of strategy tester. There some fileds which I can check like 'Balance minimum', 'Profit maximum' etc. How do they influence Optimization?
 
Sorry, this is impossible. May be in future
 
How about the second question?