OPEN-SOURCE SCRIPT

Global Liquidity Index with Editable DEMA + 107 Day Offset

505
Global Liquidity DEMA (107-Day Lead)
This indicator visualizes a smoothed version of global central bank liquidity with a forward time shift of 107 days. The concept is based on the macroeconomic observation that markets tend to lag changes in global liquidity — particularly from central banks like the Federal Reserve, ECB, BOJ, and PBOC.

The script uses a Double Exponential Moving Average (DEMA) to smooth the combined balance sheets and money supply inputs. It then offsets the result into the future by 107 days, allowing you to visually align liquidity trends with delayed market reactions. A second plot (ROC SMA) is included to help identify liquidity momentum shifts.

🔍 How to Use:
Add this indicator to any chart (S&P 500, BTC, Gold, etc.)

Compare price action to the forward-shifted liquidity trend

Look for divergence, confirmation, or crossovers with price

Use as a macro timing tool for long-term entries/exits

📌 Included Features:
Editable DEMA smoothing length

ROC + SMA overlay for momentum signals

Fixed 107-day forward projection

Includes main DEMA and ROC SMA both real-time and shifted

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.