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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.