INVITE-ONLY SCRIPT

M2 Lag Correlation | QuantumResearch

178
๐Ÿง  M2 Lag Correlation | QuantumResearch

Global M2 vs. Asset Lagged Correlation Dashboard
Measuring delayed macroeconomic impact across regions and asset classes

๐ŸŒ Why Is It Unique?
This is the first macro-financial correlation tool on TradingView that tracks and aggregates lagged money supply (M2) data across 20 global economies, FX-adjusted into USD equivalence, and overlays it against your selected chart (BTC, ETH, SPX, etc.).

It does more than just plot macro data โ€” it quantifies the delayed correlation between asset price action and macro liquidity trends, providing a unique macro-lag insight tool for serious analysts and long-term investors.

๐Ÿ“Œ What It Does:
Computes the global M2 aggregate using 20 region-specific M2 datasets, normalized via local exchange rates
Lets you shift the M2 data forward using a customizable day offset (default: 96D) to model macro lag effects
Calculates rolling Pearson correlation between your charted asset and the lagged M2 line
Outputs correlation scores across four windows:
๐ŸŸข 30D (Monthly)
๐ŸŸข 90D (Quarterly)
๐ŸŸข 182D (Semester)
๐ŸŸข 365D (Yearly)
โž• Includes a composite Average Score
Displays values in a clean dashboard-style table with color-coded feedback
๐Ÿ” Use Cases:
Detect how macro liquidity expansion or contraction influences your asset
Determine the macro lag window โ€” the period after which monetary supply affects asset prices
Validate cycle transitions using data-backed macro alignment
Compare lag response between assets (e.g., BTC vs. ETH vs. NASDAQ)

๐Ÿ“Š Macro Lag Insight:
As of recent data:

Bitcoin (BTC) shows the strongest correlation with global M2 at approximately 97 days of lag
syot kilat

Ethereum (ETH) shows its peak correlation around 108 days of lag

syot kilat

These lag values are not static and may evolve over time as macro conditions shift. The script allows users to explore such relationships interactively.

โš™๏ธ Customizable Parameters:

๐Ÿ”„ Offset (Days) โ€“ Slide the M2 curve forward to match historical asset reactions
๐ŸŽจ Color Mode โ€“ 8 color palettes to match your visual preferences
๐Ÿ“ Table Position โ€“ Place the correlation display wherever you want on your chart

โœ… Requirements:
Access to ECONOMICS and FX_IDC feeds on TradingView
Chart timeframe: preferably daily or higher for macro relevance

โš ๏ธ Disclaimer:
Disclaimer: The content on this indicator is for informational and educational purposes only. Nothing contained within should be considered financial, investment, legal, or other professional advice. Past performance does not guarantee future results. Trading cryptocurrencies involves substantial risk of loss and is not suitable for every investor.

Correlation does not imply causation. This tool offers macro-aligned insight, not direct price prediction. Use it alongside a broader macro and market framework.

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.