OPEN-SOURCE SCRIPT
Volatility-adjusted real YoY returns (%)

This indicator shows volatility-adjusted YoY real return.
It uses year-over-year log returns because YoY comparisons help eliminate seasonality. Other timeframes are generally less meaningful for this purpose, as they can be distorted by seasonal patterns, short-term noise, or incomplete economic cycles.
The hurdle rate is the maximum of inflation or the 3-month U.S. Treasury yield. The asset’s YoY return is reduced by this hurdle rate, then divided by annualized volatility.
The result is a risk-adjusted macro return score:
Positive values indicate YoY return is clearing the inflation/rate hurdle after volatility adjustment.
Negative values indicate YoY return is failing to clear that hurdle after volatility adjustment.
Copyright © 2026 @BTCTides. All rights reserved.
For educational and informational purposes only. Not financial advice.
It uses year-over-year log returns because YoY comparisons help eliminate seasonality. Other timeframes are generally less meaningful for this purpose, as they can be distorted by seasonal patterns, short-term noise, or incomplete economic cycles.
The hurdle rate is the maximum of inflation or the 3-month U.S. Treasury yield. The asset’s YoY return is reduced by this hurdle rate, then divided by annualized volatility.
The result is a risk-adjusted macro return score:
Positive values indicate YoY return is clearing the inflation/rate hurdle after volatility adjustment.
Negative values indicate YoY return is failing to clear that hurdle after volatility adjustment.
Copyright © 2026 @BTCTides. All rights reserved.
For educational and informational purposes only. Not financial advice.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน