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 ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำจำกัดสิทธิ์ความรับผิดชอบ