
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have tested Kelly Criterion (Strategy), using the following code:
I am not sure if Metatrader Strategy Tester computes 0 (zero) profit trades as profit trades. Anyone?
Well, here I am again, the lone wolf in this universe :-)
I have been trying the straightness Custom Criteria trying to get the slope of the calculated straight line into the equation. As is it can give you a very hgh rating on a very feeble profit. Just adding the end profit
into the caculation does not make it any better In an attempt to add the actual slope into the equation I changed the code lilke seen below.
It is not a perfect solution but it is closer to what I want to see. Using result together wit balance or profit works fine for me with this code
I know it's been so long since you posted this but in case you are still playing with this or someone else are looking for the same straightness criteria implementation.
I found a working public solution here https://community.darwinex.com/t/equity-curve-straigthness-optimization-with-metatrader/3976
The relating tutorial has too much info, such as specifically about programming an EA, which is in other tutorial, and non-applicable to average punter, who, will buy their EA and has minimal programming ability.
I find, that by default, the only useful criterions for MT5 in genetic algo is the "balance max", then have to repeat that a few times, and fish through results til find low drawdown, as for use on multiple pairs.
What criterions I need :- Max balance with <20 Drawdown, MaxBalance with <10 Drawdown