OPEN-SOURCE SCRIPT

BETA (against any benchmark index - defaulted to NSE:NIFTY)

Beta value of a stock relative to benchmark index. Thanks to Ricardo Santos for the original script. This script is adapted from it.

To understand beta, refer Investopedia link: investopedia.com/terms/b/beta.asp

A beta value of 1 means the stock is directly correlated to benchmark index - volatility would be same as overall market.
Beta value less than 1 and greater than 0 means the stock is less volatile than the market.
Beta value more than 1 would mean the stock is more volatile than the market.
A beta value of 1.2 would roughly translate to the stock being 20% more volatile than the overall market.

A negative beta value indicates the stock is inversely correlated to market.

In the example chart, you can see the Beta value change in NSE:RELIANCE with respect to NSE:NIFTY.
benchmarkbetaNIFTYVolatility

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian