OPEN-SOURCE SCRIPT
Atualizado 🟥 Synthetic 10Y Real Yield (US10Y - Breakeven)

This script calculates and plots a synthetic U.S. 10-Year Real Yield by subtracting the 10-Year Breakeven Inflation Rate (USGGBE10) from the nominal 10-Year Treasury Yield (US10Y).
Real yields are a core macro driver for gold, crypto, growth stocks, and bond pricing, and are closely monitored by institutional traders.
The script includes key reference lines:
0% = Below zero = deeply accommodative regime
1.5% = Common threshold used by macro desks to evaluate gold upside breakout conditions
📈 Use this to monitor macro shifts in real-time and front-run capital flows during major CPI, NFP, and Fed events.
Update Frequency: Daily (based on Treasury market data)
Real yields are a core macro driver for gold, crypto, growth stocks, and bond pricing, and are closely monitored by institutional traders.
The script includes key reference lines:
0% = Below zero = deeply accommodative regime
1.5% = Common threshold used by macro desks to evaluate gold upside breakout conditions
📈 Use this to monitor macro shifts in real-time and front-run capital flows during major CPI, NFP, and Fed events.
Update Frequency: Daily (based on Treasury market data)
Notas de Lançamento
This script calculates and plots a synthetic U.S. 10-Year Real Yield by subtracting the 10-Year Breakeven Inflation Rate (USGGBE10) from the nominal 10-Year Treasury Yield (US10Y).Real yields are a core macro driver for gold, crypto, growth stocks, and bond pricing, and are closely monitored by institutional traders.
The script includes key reference lines:
0% = Below zero = deeply accommodative regime
1.5% = Common threshold used by macro desks to evaluate gold upside breakout conditions
📈 Use this to monitor macro shifts in real-time and front-run capital flows during major CPI, NFP, and Fed events.
Update Frequency: Daily (based on Treasury market data)
Notas de Lançamento
This script calculates and plots a synthetic U.S. 10-Year Real Yield by subtracting the 10-Year Breakeven Inflation Rate (USGGBE10) from the nominal 10-Year Treasury Yield (US10Y).Real yields are a core macro driver for gold, crypto, growth stocks, and bond pricing, and are closely monitored by institutional traders.
The script includes key reference lines:
0% = Below zero = deeply accommodative regime
1.5% = Common threshold used by macro desks to evaluate gold upside breakout conditions
📈 Use this to monitor macro shifts in real-time and front-run capital flows during major CPI, NFP, and Fed events.
Update Frequency: Daily (based on Treasury market data
Notas de Lançamento
Real Yield Overlay (Gold-Scaled View)Author: [Saraicy]
This script overlays the U.S. 10-Year Real Yield directly onto your price chart (e.g. Gold), scaled and aligned to current price levels for intuitive macro correlation tracking.
📈 How it works:
Real Yield Calculation = Nominal 10Y Treasury Yield (FRED:GS10) − 10Y Breakeven Inflation Rate (FRED:T10YIE)
The result is scaled using a custom slope to reflect 0.1% real yield ≈ 200 price units (adjustable).
Overlay is anchored to a reference real yield and price (e.g. 1.6% at 3400), making real yield fluctuations visually interpretable alongside gold price movement.
A dynamic label shows current real yield (%) on the main chart, aligned with price action.
🔍 Use case:
This tool is designed for macro-informed traders, especially gold, Bitcoin, and rates traders, to:
Track inverse correlation between real yields and gold
Visualize monetary policy shifts and bond market reactions in price space
Aid real-time narrative building around inflation, recession risk, and Fed cuts
⚙️ Customizable inputs (in code):
anchor_yield: The real yield to anchor scaling to
anchor_price: The chart price to align with anchor yield
slope: Determines how dramatically real yield changes appear (default: 0.1% = 200pts)
Notas de Lançamento
### **Real Yield Overlay (Gold-Scaled View)****Author:** [Saraicy]
This script overlays the **U.S. 10-Year Real Yield** directly onto your price chart (e.g. Gold), scaled and aligned to current price levels for intuitive macro correlation tracking.
---
### 📈 **How it works:**
- **Real Yield Calculation** = Nominal 10Y Treasury Yield (FRED:GS10) − 10Y Breakeven Inflation Rate (FRED:T10YIE)
- The result is **scaled** using a custom slope to reflect **0.1% real yield ≈ 200 price units** (adjustable).
- Overlay is anchored to a **reference real yield** and **price** (e.g. 1.6% at 3400), making real yield fluctuations visually interpretable alongside gold price movement.
- A **dynamic label** shows current real yield (%) on the main chart, aligned with price action.
---
### 🔍 **Use case:**
This tool is designed for **macro-informed traders**, especially gold, Bitcoin, and rates traders, to:
- Track **inverse correlation** between real yields and gold
- Visualize **monetary policy shifts** and bond market reactions in price space
- Aid real-time narrative building around inflation, recession risk, and Fed cuts
---
### ⚙️ **Customizable inputs (in code):**
- `anchor_yield`: The real yield to anchor scaling to
- `anchor_price`: The chart price to align with anchor yield
- `slope`: Determines how dramatically real yield changes appear (default: 0.1% = 200pts)
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.