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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.