Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I'm a bit confused about how frames work.
I know that you can set a custom optimization criteria as follows.
The genetic algorithm will search to maximize the value of this criteria.
I'm not sure if frames are used to do the same thing. I mean, if for example I give these values to the FrammeAdd() function.
The genetic algorithm will search to maximize the expected payoff and the sharpe ratio too?
Or am I completely wrong and the frameAdd() function has a completely different purpose?
OnTester() function should return zero or can it still be used to return another value to maximize?
Thank you very much for your help!!