INVITE-ONLY SCRIPT

Crypto Correlations Heatmap

5 575
Hello friends,

This tool is designed for crypto traders who want a fast, visual way to understand how different coins move relative to each other. It builds a correlation heatmap between your current chart symbol and a customizable list of crypto pairs, helping you immediately see which assets tend to move together, move opposite, or behave independently.

🛠️ How It Works

You provide a comma-separated watchlist of cryptocurrency tickers (for example, a list of USDT or USD-margined pairs). The script then:
  • Filters this list using your chosen Display Mode - All pairs, or only BTC, ETH, USDT, or USDC-related pairs.
  • Splits long watchlists into pages of up to 40 tickers, so you can smoothly navigate large universes of coins using the page selector.
  • For each symbol on the active page, it calculates the Pearson correlation over a user-defined lookback period, based on your selected Correlation Source (close, alternative price averages, or other supported inputs via the custom source module).
  • The results are rendered as a color-coded heatmap: color and intensity reflect both the strength and direction of correlation with your chart symbol.
You can switch between multiple professional color palettes to fine-tune how positive, negative, and neutral correlations are visually separated on the chart.

🔥 Key Features
  • Custom watchlist input via a simple text area (paste long lists directly from your exchange or screener)
  • Pagination support - view up to 40 tickers per page for stable performance
  • Flexible Display Modes: All pairs, BTC pairs, ETH pairs, USDT pairs, USDC pairs
  • Adjustable correlation lookback length
  • Advanced correlation source selector via the custom source module
  • Multiple color palettes: Blue/Red, Blue/White/Red, Green/Pink, Green/Red, Green/Yellow/Red, Purple/Orange, Spectral, Viridis
  • Clear visual mapping of correlation strength and sign using color intensity and hue
👋 Good luck and happy trading!

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.