OPEN-SOURCE SCRIPT
“Risk-Asset Liquidity Meter”

The CN10Y / DXY / HY-OAS Liquidity Gauge distills three cross-asset signals into a single real-time line that has proven highly responsive to global liquidity swings. By dividing China’s 10-year government-bond yield (a proxy for PBoC policy) by both the U.S. Dollar Index level (a barometer of worldwide dollar tightness) and the ICE BofA U.S. High-Yield credit spread (a daily read on risk appetite), the indicator rises when monetary conditions loosen—China is easing, the dollar is softening, and credit markets are calm—and falls when any of those pillars tighten. Traders pair the raw ratio with its 50-day simple moving average to smooth noise and generate directional signals: sustained moves above the MA typically foreshadow strength in Bitcoin, alt-coins, equities and EM assets, while decisive breaks below it often flag oncoming funding stress or risk-off episodes. Because all inputs update daily and are freely sourced (TVC\:CN10Y, TVC\:DXY, FRED\:BAMLH0A0HYM2), the gauge is a lightweight yet powerful compass for anyone who needs a fast, transparent snapshot of global liquidity’s push-and-pull on crypto and other risk markets.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。