OPEN-SOURCE SCRIPT

Global Liquidity Index with Editable DEMA + 107 Day Offset

506
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

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.