Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
BETA for Amibroker (AFL)
Got this from one of my friend but don’t know the author.This would provide the beta details of the stocks. This is a good one. Try it and let me know the results.
Similar Indicators / Formulas
Indicator / Formula
function Beta( BaseSymbol, N ) { Chg = ROC( C, 1 ); ChgBase = ROC( Foreign( BaseSymbol, "C" ), 1 ); return ( N * Sum( Chg * ChgBase , N ) - Sum( Chg, N) * Sum( ChgBase, N ) ) / ( N * Sum( ChgBase ^ 2 , N ) - Sum( ChgBase, N ) ^ 2 ); } symbol = ParamStr( "Symbol", "^NDX" ); Plot( Beta( symbol, Param("Periods", 21, 2, 100 ) ), _DEFAULT_NAME(), ParamColor( "Color", ColorCycle ) );
1 comments
Leave Comment
Please login here to leave a comment.
Back
couldn’t get how does it work. it is neither indicator nor exploration. please explain.