Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
High Beta Stock Scanner for Amibroker (AFL)
As mentioned in the title the purpose of this is to simply select high beta stocks. Try it out and do let me know about it.
A beta coefficient is a measure of the volatility, or systematic risk, of an individual stock in comparison to the unsystematic risk of the entire market.
In the parameters you need to select your index symbol for this formula to work.
Indicator / Formula
_SECTION_BEGIN("High Beta Scanner"); ticker=ParamStr( "Ticker", "NIFTY" ); P=Foreign(ticker,"C",1); Periods=Param("period",21,1,50,1); Beta=(( Periods * Sum(ROC( C,1) * ROC(P,1),Periods )) - (Sum(ROC(C,1),Periods) * Sum(ROC( P,1),Periods))) / ((Periods * Sum((ROC(P,1)^2 ),Periods)) - (Sum(ROC(P,1 ),Periods)^2 )); Plot(beta,"Beta",colorRed,styleLine); Filter =beta>1.5; AddColumn(beta,"BETA",1.2); _SECTION_END();
2 comments
Leave Comment
Please login here to leave a comment.
Back
The Beta code formula can convert more simple way
Enjoy it.
Usage:
1)Save AFL in your Program Files→Amibroker→Formulas→Exploration Folder and Set the Benchmark Index in the AFL code line 3.
2)Open New Analysis → Settings → Choose Periodicity as Daily
3)Select All Symbols from the Apply To drop down menu
4)Select the range option to 1 Recent Day(s)
5)Press Explore Button
6)You are Done