I think the way MT5 calculates the Sharpe Ratio (SR) as explained here https://www.mql5.com/en/forum/1372/page2 is incorrect.
For several reasons:
It assumes a RiskFreeReturn of 0. Rate on 10 year US government bond is
As a consequence of this, you get unrealistic SR's (see next item). You might
set it to zero for simplicity's sake, but that is not the way to go when
presenting a well known ratio - stick to the formula. Besides that it also
stays roughly the same for a year or so, so only a yearly update would
already make it way more realistic.
b. It doesn't take into
account the amount of capital used - it assumes "all". That causes that
it is irrelevant for the SR if you have achieved the results using 1% or
100% of the capital, which is of course nonsense. (If with only 1% you
would also have fixed returns on the other 99% of the capital - see a.).
Besides the fact that the way of calculation is unrealistic, it leads
(more importantly) to wrong conclusions: in the example two strategies
can have exactly the same SR while the 1% capital used one is of course
way better because, besides of returns, 99% of capital has been always
safe. It should use the average used capital over the time period.
c. It doesn't take into account the time period. Now two strategies can have the same result/risk,
resulting in the same SR, while one generated that result in one month
while the other one did it in a year. Would you consider these both as
In short, the number you calculate this way is very far from the truth
@ Sergey: I think the only correct Sharpe ratio definition comes from Sharpe himself, that's why I copied his revised formula.
If there were many correct ways to calculate a Sharpe (or any other) ratio, then it would be useless for any comparison.
@ Juer: I don't make 3rd part apps, but it's not so hard to calculate. What is more important is that you should be aware what you are comparing to what.
If you compare 2 strategies that have both used X capital and were over over time period Y, then YOU can use the "MQL5 Sharpe ratio" to compare two strategies.
But it doesn't say anything in comparing your "MQL5 Sharpe ratio" with others ratio, or having used other test variables like capital or time period tested over.
I do not know about MQL5 Sharpe (about which one they took as a based one for the calculation), but I remember - I made one post about Sharpe many years ago:
Forum on trading, automated trading systems and testing trading strategies
Rent a Signal service development and suggestions
Sergey Golubev, 2009.01.12 07:47
Sharpe Ratio was added to advanced stats (thanks to Igorad).
Mathematics in Trading: How to Estimate Trade Results - MQL4 Articles
There are Sharpe Ratio, Modified Sharpe Ratio and Annual Sharpe Ratio. Sharp Ration telling us about stability (consistently) of the profit for some signals (lowest value compare with Modified Sharpe Ratio and Annual Sharpe Ratio) The Sharpe Ratio
Sharpe Ratio is not telling us about how profitable the system/signals. It is telling us about stability of the income.
- one signals did 0.1% for the 1st month, 0.1% for the second month and 0.1% for the 3rd month. Sharpe Ratio will be very hight. Because it is stable income every month. Same with banks for example if you will deposit money to them.
- other signals did 1% return for the 1st month, -2% return for the second month and 5% for the 3rd month. Sharpe Ratio will be low. Because this signal provider is not giving stable consistent profit for every period of time.
For example, the signal <...> (by <...>) is having Sharpe Ratio = 2.65 which is very good. If the signals are profitable so it indicates that it may be very good to subscribe.
So, the buyers should look at Sharpe Ratio (stable income or not stable income), after that we can look at ROI, at max/min lot size, and how many pairs the signal provider is trading (it is difficult to receive big Sharpe Ratio for 1 pair during the long period of time trading) and so on.
Just for information.
So, according to my opinion - the Sharpe Ratio is very difficult to use in forex. For example, many people understand the following: "subscription to the signal = investing" ("I decided to invest my money to subscribe to the signal"). And they may ask: how much profit will I have monthly/yearly? 2% from deposit? 10%? or 20% yearly (20% every year) ... but we know that it is impossible to estimate the fix profit from the investment in the forex for example ....
Sharpe Ratio may be good to use/to estimate in portfolio when we need the stability in income (small profit but same one every month/year for example).
Yes, and this article from Sharpe:
Please enable the necessary setting in your browser, otherwise you will not be able to log in.