OPEN-SOURCE SCRIPT
Hybrid Macro/Technical Dashboard

Credits:
A massive thank you and credit goes to @giorgos_ts. The core "Global Liquidity (GLI Z)" measurement engine acting as the heavy anchor for this script was adapted directly from their original GLI Z indicator work. You can find their original script here:
Description:
Navigating the stock market requires understanding two completely different forces: **Macroeconomic Gravity** (the slow, structural foundation) and **Price Action** (the real-time reality of hype and momentum).
The 7 Pillars of Macro Gravity:
The indicator evaluates the following components under the hood:
1. **Global Liquidity (GLI Z):** Tracks the real-time expansion/contraction of Central Bank balance sheets.
2. **Yield Curve (10Y-2Y):** Tracks structural banking recessions and warns of inversions.
3. **Credit Spreads (HY):** Measures corporate stress and default risk.
4. **Real Yields (10Y TIPS):** The true cost of capital for the global economy.
5. **Growth vs. Fear (Copper/Gold):** A live proxy for global industrial expansion.
6. **Currency Strength (DXY):** Measures global trade friction and offshore dollar liquidity.
7. **Volatility (VIX):** A real-time panic override switch.
The 4 Actionable States (The Trend Filter):
Macro data is not a timing tool. To solve this, the dashboard filters the Macro Score through a 40-Week Moving Average (the 200-Day equivalent) to generate 4 actionable regimes:
* 🟢 **SECURE BULL MARKET:** Macro is healthy, and Price is above trend.
* 🔵 **BUY THE DIP OPPORTUNITY:** Macro is healthy, but Price broke below trend. A temporary technical breakdown; historically a strong buy signal.
* 🟠 **DANGER ZONE / DEFYING GRAVITY:** Macro is completely broken, but the Price is still above trend (fueled by hype or fiscal deficits).
* 🔴 **CRASH REGIME / MAX GRAVITY:** Macro is broken, and the Price finally broke below trend. The hype is dead, gravity has taken over.
The Customizable Weighting Engine:
The entire engine is exposed in the indicator settings. You can assign custom integer weights to any of the 7 pillars to backtest your own unique algorithmic scoring system. The dashboard UI will automatically scale and display your custom weights in real-time.
HOW TO USE:
1. **You MUST apply this to a Weekly ("1W") chart.** The momentum and lookback math is specifically tuned to weeks.
2. Customize the point system as you wish, using the relevant inputs in settings.
A massive thank you and credit goes to @giorgos_ts. The core "Global Liquidity (GLI Z)" measurement engine acting as the heavy anchor for this script was adapted directly from their original GLI Z indicator work. You can find their original script here:

Description:
Navigating the stock market requires understanding two completely different forces: **Macroeconomic Gravity** (the slow, structural foundation) and **Price Action** (the real-time reality of hype and momentum).
The 7 Pillars of Macro Gravity:
The indicator evaluates the following components under the hood:
1. **Global Liquidity (GLI Z):** Tracks the real-time expansion/contraction of Central Bank balance sheets.
2. **Yield Curve (10Y-2Y):** Tracks structural banking recessions and warns of inversions.
3. **Credit Spreads (HY):** Measures corporate stress and default risk.
4. **Real Yields (10Y TIPS):** The true cost of capital for the global economy.
5. **Growth vs. Fear (Copper/Gold):** A live proxy for global industrial expansion.
6. **Currency Strength (DXY):** Measures global trade friction and offshore dollar liquidity.
7. **Volatility (VIX):** A real-time panic override switch.
The 4 Actionable States (The Trend Filter):
Macro data is not a timing tool. To solve this, the dashboard filters the Macro Score through a 40-Week Moving Average (the 200-Day equivalent) to generate 4 actionable regimes:
* 🟢 **SECURE BULL MARKET:** Macro is healthy, and Price is above trend.
* 🔵 **BUY THE DIP OPPORTUNITY:** Macro is healthy, but Price broke below trend. A temporary technical breakdown; historically a strong buy signal.
* 🟠 **DANGER ZONE / DEFYING GRAVITY:** Macro is completely broken, but the Price is still above trend (fueled by hype or fiscal deficits).
* 🔴 **CRASH REGIME / MAX GRAVITY:** Macro is broken, and the Price finally broke below trend. The hype is dead, gravity has taken over.
The Customizable Weighting Engine:
The entire engine is exposed in the indicator settings. You can assign custom integer weights to any of the 7 pillars to backtest your own unique algorithmic scoring system. The dashboard UI will automatically scale and display your custom weights in real-time.
HOW TO USE:
1. **You MUST apply this to a Weekly ("1W") chart.** The momentum and lookback math is specifically tuned to weeks.
2. Customize the point system as you wish, using the relevant inputs in settings.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.