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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明