Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

High Beta Stock Scanner for Amibroker (AFL)

5 / 5 (Votes 1)
amibroker, scanner

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

Copy & Paste Friendly
_SECTION_BEGIN("High Beta Scanner");

ticker=ParamStr( "Ticker", "NIFTY" );



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 ));


Filter =beta>1.5;




1. kudos0320

The Beta code formula can convert more simple way

ticker = ParamStr( "Ticker", "NIFTY" );
P = Foreign( ticker, "C", 1 );
Periods = Param( "period", 21, 1, 50, 1 );

RocX = ROC ( C, 1 );
RocY = ROC ( P, 1 );

Beta = Correlation( RocX, RocY, Periods ) * StDev( RocX, Periods ) / StDev( RocY, Periods );

Enjoy it.

2. niladri


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

Leave Comment

Please login here to leave a comment.