faiyaz7283

S&P500 Heat Map

faiyaz7283 Aktualisiert   
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.
Versionshinweise:
Changed title
Versionshinweise:
Bug fix: Re print issue fixed
Versionshinweise:
- 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)
Versionshinweise:
Added text color support. Now users can pick their own text color.
Versionshinweise:
- Added an option to use custom timeframe.
Versionshinweise:
Versionshinweise:
- 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
Versionshinweise:
Versionshinweise:
  • 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.
Versionshinweise:
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.
Versionshinweise:
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.
Versionshinweise:
Versions updated for imported libraries, and minor formatting fix.

Faiyaz Haider
Geschütztes Skript
Dieses Skript wird als Closed-Source veröffentlicht und Sie können es frei verwenden. Sie können es favorisieren, um es auf dem Chart zu verwenden. Sie können den Quellcode nicht einsehen oder verändern.
Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?