OPEN-SOURCE SCRIPT
FED Liquidity Dashboard

A Macro Liquidity Dashboard of a comprehensive "Risk-On / Risk-Off" engine designed to provide a high-level view of the global financial system. Instead of focusing on lagging price action, this indicator tracks the "plumbing" of the economy—monitoring the Yield Curve, Bank Liquidity, Bond Market Volatility, and the Fed’s actual behavior in real-time.
This is an "SIMPLE" system for traders who want to know if the wind is at their back or if they are trading into a systemic storm.
Key Components
The Yield Curve (Visual): A real-time plot of the US Treasury Curve from 3-Month to 30-Year maturities. It automatically highlights whether the curve is Steepening (Teal) or Flattening (Red).
Economy (10Y-3M Spread): Monitors the "Gold Standard" recession indicator. It identifies the current state of the Treasury spread. An INVERTED reading warns of an upcoming recession, while a move back to STABLE (Positive) after a long inversion often signals that the economic "contraction" has officially begun.
Bank Plumbing (Repo Stress): Tracks the spread between SOFR and the Effective Federal Funds Rate. This tells you if the internal bank pipes are CLEAR or BLOCKED.
Bond Volatility (MOVE Index): Incorporates the "VIX for Bonds." It categorizes market fear as CALM, UNCERTAIN, ELEVATED, or CRISIS.
Corporate Stress (HY Spreads): Monitors High Yield credit spreads to see if "Real World" companies are struggling to pay their debts.
Fed Action Gauge: A proprietary logic row that determines if the Federal Reserve is currently VACUUMING (Removing cash), PATCHING (Emergency liquidity), or FLOODING (Printing money/Stimulus).
How to Read the Final Signal
The indicator produces a single Final Signal based on the confluence of all macro factors:
🚀 BUY: The "All-Clear." Triggered only when the Curve is Steepening, Plumbing is Clear, Bond Vol is stable, and Corporate Stress is low.
✋ WAIT: The "Safety First" signal. Triggered if any single part of the financial plumbing is blocked or showing signs of systemic stress.
Usage
This dashboard is best used on a Daily (D) timeframe for long-term bias. It is not a scalping tool, but a Liquidity Filter. Before entering a long position on S&P 500, Nasdaq, or Bitcoin, check the Dashboard. If the signal is WAIT, reduce your position size or stay in cash. If the signal is BUY, the macro "tide" is rising.
This is an "SIMPLE" system for traders who want to know if the wind is at their back or if they are trading into a systemic storm.
Key Components
The Yield Curve (Visual): A real-time plot of the US Treasury Curve from 3-Month to 30-Year maturities. It automatically highlights whether the curve is Steepening (Teal) or Flattening (Red).
Economy (10Y-3M Spread): Monitors the "Gold Standard" recession indicator. It identifies the current state of the Treasury spread. An INVERTED reading warns of an upcoming recession, while a move back to STABLE (Positive) after a long inversion often signals that the economic "contraction" has officially begun.
Bank Plumbing (Repo Stress): Tracks the spread between SOFR and the Effective Federal Funds Rate. This tells you if the internal bank pipes are CLEAR or BLOCKED.
Bond Volatility (MOVE Index): Incorporates the "VIX for Bonds." It categorizes market fear as CALM, UNCERTAIN, ELEVATED, or CRISIS.
Corporate Stress (HY Spreads): Monitors High Yield credit spreads to see if "Real World" companies are struggling to pay their debts.
Fed Action Gauge: A proprietary logic row that determines if the Federal Reserve is currently VACUUMING (Removing cash), PATCHING (Emergency liquidity), or FLOODING (Printing money/Stimulus).
How to Read the Final Signal
The indicator produces a single Final Signal based on the confluence of all macro factors:
🚀 BUY: The "All-Clear." Triggered only when the Curve is Steepening, Plumbing is Clear, Bond Vol is stable, and Corporate Stress is low.
✋ WAIT: The "Safety First" signal. Triggered if any single part of the financial plumbing is blocked or showing signs of systemic stress.
Usage
This dashboard is best used on a Daily (D) timeframe for long-term bias. It is not a scalping tool, but a Liquidity Filter. Before entering a long position on S&P 500, Nasdaq, or Bitcoin, check the Dashboard. If the signal is WAIT, reduce your position size or stay in cash. If the signal is BUY, the macro "tide" is rising.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.