The Profitability Rule
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?
Thank you RaptorUK, very nice of you.One last question where should I extract this code in the expert?
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.
Sure . . .
double w, pf, pf, R;
defining pf is already done if you do it once but as often beautiful answer...
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.