INVITE-ONLY SCRIPT
Updated

HeatMap

85
Heat Map of the stock exchanges with two dimensional grid, with one axis representing listed stock, and other axis representing time. Each cell in the grid is assigned a color based on the corresponding data value, allow viewers to quickly discern patterns and sense the market as overall.
Interpretation:
  • Analyze the resulting heat map to identify patterns and trends in the stock market;
  • Look for clusters of similar colors indicating periods of overall market growth or decline;
  • identify individual stock or sectors that consistently outperform or underperform the market over time;
  • Pay attention to changes in color intensity, as they may indicate of increase volatility or stability in the market.

    This pine-script displays components of NASDAQ, SP500, HKEX, SSE, and Cryptos according to statistical measures using the Z-score method compared to the last 20 bars. It automatically displays the corresponding heat map based on the current symbol belonging to the exchange.
    • A Z-Score of zero signifies that the data point is precisely at the mean.
    • positive Z-Score indicates that the data point is above the mean.
    • A negative Z-Score indicates that the data point is below the mean.


    Apply the following instructions to use this indicator:
    1. Load the chart with the symbol of the exchange you are interested in.
      1. Add the index of the exchange. For example, for NQ, add the comparison symbol to the top left as a PLUS with a circle. Move it to a new panel. Skip this step if you do not need to view the index graphic.
        1. Add the "HEAT MAP" indicator, then move it to the index panel and change the pin axis to full screen.
Release Notes
correct minor issues
Release Notes
update code to v6
Release Notes
add the statistic on heatmap
the summary color coded on top the heat map

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.