You must have a explore system when trading on the Stock Exchange. This can be a simple two-move average or a more complex system. But with which of these shares will we build a portfolio? At this point, statistical indicators rush to help. Unfortunately, the indicators I'm about to give don't contain codes in any other sources on the internet. For the first time here, I think I'll be sharing.
I need to re-emphasize an important point here. There is no buy-sell transaction with these indicators. These indicators are for "share selection" only. You already have a buy-and-sell system. You have done a scan with this system. The system has presented you with a list of stock recommendations. That's where we're going to measure the shares on the statistical scales. The main indicators we will use are: expected return, downside ratio, Sortino ratio, upside potential ratio, (modified) omega, Sharpe ratio, beta and alpha.
E(r)
Let's swallow the pushover first. E(r) means the expected value. How much has our stock made us throughout its history? There are three routes to this. How much did the stock itself make? Secondly, how much did the stock make against the index? Thirdly, how much did he bring against a foreign currency?
R:= Log(C/Ref(C,-1));0;
eur:=Security("euro",C); { Security("YourCountryIndex",c);}
Reur:=Log(eur/Ref(eur,-1));
n:=Cum(IsDefined(r-eur));
Er:=Cum(R-Reur)/n;
SD:=Cum(Power(R-Er,2))/n;
(ER-.5*SD)*100*100;
This is the second line that determines the three calculations. you can specify the code on this line as either foreign currency or index. Or, you delete this line to calculate the share's own return.
To be continued...
Hiç yorum yok:
Yorum Gönder