yacoov:
How can I convert this into a code in the expert advisor?Can anyone help?Thanks.
Sure . . .
double w, pf, pf, R;
w = pf/(pf+R);
Thank you RaptorUK, very nice of you.One last question where should I extract this code in the expert?
yacoov:
Which Expert ? I don't see any of your code . . .
Thank you RaptorUK, very nice of you.One last question where should I extract this code in the expert?
I have had a real laugh with this post.
yacoov:
Right after you calculate OrdersHistoryTotal() (and perhaps OrdersTotal() as well).
Thank you RaptorUK, very nice of you.One last question where should I extract this code in the expert?
Thanks onewithzachy and RaptorUK.Flaab, RaptorUK made you laugh, now you owe him one.
RaptorUK:
defining pf is already done if you do it once but as often beautiful answer...
Sure . . .
double w, pf, pf, R;
deVries:
defining pf is already done if you do it once but as often beautiful answer...
LOL . . .
defining pf is already done if you do it once but as often beautiful answer...

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
In his paper http://www.priceactionlab.com/Literature/profitability.pdf Michael Harris represents the profitability rule as : w = pf/(pf+R)
where pf = profit factor, R = payoff ratio and w is the win rate.
How can I convert this into a code in the expert advisor?Can anyone help?Thanks.