faiyaz7283

S&P500 Heat Map

faiyaz7283 Updated   
S&P sectors heat map. Follows the timeframe of the active chart.

The following SPDR select sector funds are included

XLB - Materials
XLC - Communication
XLE - Energy
XLF - Financials
XLI - Industrials
XLK - Information technology
XLP - Consumer staples
XLRE - Real estate
XLU - Utilities
XLV - Healthcare
XLY - Consumer discretionary

SPY and current chart ticker will also be included by default, but can be disabled in the settings.

Optional:
There's a switch in setting "Data from previous bar" - if selected, the change percent will be from the previous candle. For example, if the chart timeframe is daily with this option selected, data will be from previous day. Similar situation with all timeframes. Also, when this option is active, the text "Previous Bar" will be printed in red color on the top right corner to avoid any confusion.
Release Notes:
Changed title
Release Notes:
Bug fix: Re print issue fixed
Release Notes:
- Added a new input "Orientation" - it allows user to display the heat-map in either horizontal (default) or vertical orientation.
- Fixed a bug that was causing inconsistency on decimal points. (shoutout to @citybaselewis)
Release Notes:
Added text color support. Now users can pick their own text color.
Release Notes:
- Added an option to use custom timeframe.
Release Notes:
Release Notes:
- Some minor refactoring.
- Open sourcing the code via gist.

Some users have expressed interest in accessing the source code for this indicator. Regrettably, I cannot share it directly on TradingView, as they do not support switching from protected source to public source. However, you can find the source code uploaded on GitHub Gist at this link: https://gist.github.com/faiyaz7283/901046b7d902953eca34de0b797e8cca
Release Notes:
Release Notes:
  • Revamped Interface: Enjoy a fresh, new appearance.
  • Customizable Header: Easily add or remove the header.
  • Timeframe Display: Header shows sorting direction and chosen timeframe.
  • Title Control: Add or remove titles like "Close" and "Volume."
  • Data Display Flexibility: Choose between regular, change, or change percent.
  • Full Customization: Tailor the look and feel to your preference.

Please be aware: The recent updates may cause a slight decrease in performance.
Release Notes:
Update: Historical Data Tracking Now Available!

- Added Historical Data Tracking: Enhanced the S&P500 Heatmap indicator to allow you to track historical data. You can now delve into the past to analyze how the market performed using this indicator.

- Nth Number Compatibility: The script has been updated to accept the nth number for charts or custom timeframes. By specifying the nth number, users can seamlessly assess both current and historical market performance, translating the results into the indicator's heatmap.
Release Notes:
Added a new 'status report' - It calculates the total on list moving up, moving down and staying neutral. You can switch this report on/off via settings. The idea for this report was requested and shared on WLHeatmap indicator by @Phonix_tn.
Release Notes:
Versions updated for imported libraries, and minor formatting fix.

Faiyaz Haider
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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.

Want to use this script on a chart?