OPEN-SOURCE SCRIPT

Monthly beta (5Y monthly) with multi-timeframe support

The PROPER way to calculate beta for a stock using monthly price returns. None of this nonsense using daily returns and sliding windows as done by other scripts...

Works on any timeframe.

This script has been checked against 100s of stocks on Yahoo finance and Zacks research data and matches 100% (some rounding error as this script is kept updated live on unconfirmed monthly bars).

You can check for yourself:
Zacks fundamentals - beta

The script calculates beta using the Variance-Covariance Method as described on Investopedia
How to calculate Beta
Historical VolatilitymultitimeframeVolatility

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明