OPEN-SOURCE SCRIPT

US Liquidity-Weighted Business Cycle

125
๐Ÿ“ˆ BTC Liquidity-Weighted Business Cycle

This indicator models the Bitcoin macro cycle by comparing its logarithmic price against a log-transformed liquidity proxy (e.g., US M2 Money Supply). It helps visualize cyclical tops and bottoms by measuring the relative expansion of Bitcoin price versus fiat liquidity.

๐Ÿง  How It Works:

Transforms both BTC and M2 using natural logarithms.

Computes a liquidity ratio: log(BTC) โ€“ log(M2) (i.e., log(BTC/M2)).

Runs MACD on this ratio to extract business cycle momentum.

Plots:

๐Ÿ”ด Histogram bars showing cyclical growth or contraction.

๐ŸŸข Top line to track the relative price-to-liquidity trend.

๐Ÿ”ด Cycle peak markers to flag historical market tops.

โš™๏ธ Inputs:

Adjustable MACD lengths

Toggle for liquidity trend line overlay

๐Ÿ” Use Cases:

Identifying macro cycle tops and bottoms

Timing long-term Bitcoin accumulation or de-risking

Confirming global liquidity's influence on BTC price movement

Note: This version currently uses US M2 (FRED:M2SL) as the liquidity base. You can easily expand it with other global M2 sources or adjust the weights.

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.