PROTECTED SOURCE SCRIPT
Telah dikemas kini S&P500 Heat Map

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.
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.
Nota Keluaran
Changed titleNota Keluaran
Bug fix: Re print issue fixedNota Keluaran
- 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)
Nota Keluaran
Added text color support. Now users can pick their own text color. Nota Keluaran
- Added an option to use custom timeframe. Nota Keluaran
- Added new volume section, similar to Watchlist Heatmap.
- Completely refactored code using the tools and the multidata library.
Nota Keluaran
- 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
Nota Keluaran
Here's the CORRECT source code: https://gist.github.com/faiyaz7283/4cc5e3660b25570030deb76d6e12642dNota Keluaran
- 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.
Nota Keluaran
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.
Nota Keluaran
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.Nota Keluaran
Versions updated for imported libraries, and minor formatting fix.Nota Keluaran
Bug fix: Fixed gradient color issue. Now updating the color on indicator settings, will correctly change on the indicator.Nota Keluaran
Now fully rewritten in Pine Script version 6 with major improvements and powerful new features!🚀 New Features:
- Sentiment Metrics – Get detailed sentiment analysis for each category of data: Open, High, Low, Close, and Volume.
- Composite Weighted Sentiment – Calculates an overall sentiment using category-based data and custom weights.
- Comprehensive Data Display – Previous, Last, and % change values are now included under each category.
- Interactive Tooltips – Hover over items to see detailed explanations and insights.
- Trend Tracker – Displays total bullish and bearish trends for each category at a glance.
Nota Keluaran
some refactoringSkrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Faiyaz Haider
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Faiyaz Haider
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.