OPEN-SOURCE SCRIPT

Kane's Global M2 + DXY Overlay

444
Kane's Global M2 + DXY Overlay

This indicator overlays a USD-converted Global M2 liquidity composite and the U.S. Dollar Index (DXY) directly onto the current chart, making it easier to compare Bitcoin price action against macro liquidity and dollar strength in one view.

The script combines major M2 money supply series into a single Global M2 line and converts non-USD components into USD for consistency. It also includes a DXY overlay so traders can track the inverse relationship that often appears between Bitcoin and dollar strength.

To make both series usable on a price chart, the indicator normalizes Global M2 and DXY into the chart’s price area instead of plotting their raw values.

Features
• Global M2 overlay converted into USD
• DXY overlay on the same chart
• Optional DXY inversion for cleaner BTC comparison
• Weekly Global M2 lead setting
• Optional smoothing for both M2 and DXY
• Price-area normalization for clean overlay viewing
• Designed for Bitcoin macro analysis

Default Setup
• Weekly chart
• Global M2 lead set to 10 weeks
• DXY inversion enabled
• Long normalization lookback for smoother macro comparison

How It Works
Global M2 is built from major money supply series and FX conversion into USD. The indicator then shifts Global M2 forward by the selected lead amount and maps both Global M2 and DXY into the visible BTC price range, allowing direct visual comparison.

Best Uses
• Comparing Bitcoin to global liquidity conditions
• Tracking BTC against dollar strength
• Studying macro-cycle alignment
• Building higher-timeframe confluence into analysis

Notes
This tool is designed for visual macro comparison, not direct trade execution signals. Because external macro series update on different schedules than BTC price, the overlays are best interpreted on higher timeframes.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.