OPEN-SOURCE SCRIPT
Macro & Earnings Dashboard — NY Fed Calendar

Macro & Earnings Dashboard — NY Fed Calendar
This is an overlay indicator designed to provide a quick, real-time overview of the most critical upcoming US economic data releases and corporate earnings reports directly on your TradingView chart. It functions as a dynamic dashboard, removing the need to constantly check external calendars.
Key Features
1. Real-Time Economic Calendar (Bottom-Right Table)
The dashboard tracks the time remaining until the next release of five major, high-impact economic indicators. The data for these dates is pre-loaded directly from the New York Fed Economic Indicators Calendar (currently loaded for October through December 2025).
The tracked events include:
CPI (Consumer Price Index)
PPI (Producer Price Index)
Employment Situation (Non-Farm Payrolls / Unemployment Rate)
Interest Rate Decision (FOMC Meetings)
Consumer Sentiment (University of Michigan Survey)
2. Corporate Earnings Tracker (Top-Right Table)
This table uses TradingView's built-in data to calculate the estimated days remaining until the next Earnings Per Share (EPS) report for a curated list of high-profile NASDAQ tickers:
AAPL, NVDA, GOOG, TSLA, MSFT, AMZN, META
3. Color-Coded Urgency
The "Days" column for both macro and earnings tables uses a traffic light system to instantly communicate how soon the event is:
Red: The event is scheduled for Today or Tomorrow (0–1 day away).
Orange: The event is scheduled for the current week (within 6 days).
Teal: The event is more than a week away.
Gray: The date is currently unavailable or outside the loaded calendar range.
This is an overlay indicator designed to provide a quick, real-time overview of the most critical upcoming US economic data releases and corporate earnings reports directly on your TradingView chart. It functions as a dynamic dashboard, removing the need to constantly check external calendars.
Key Features
1. Real-Time Economic Calendar (Bottom-Right Table)
The dashboard tracks the time remaining until the next release of five major, high-impact economic indicators. The data for these dates is pre-loaded directly from the New York Fed Economic Indicators Calendar (currently loaded for October through December 2025).
The tracked events include:
CPI (Consumer Price Index)
PPI (Producer Price Index)
Employment Situation (Non-Farm Payrolls / Unemployment Rate)
Interest Rate Decision (FOMC Meetings)
Consumer Sentiment (University of Michigan Survey)
2. Corporate Earnings Tracker (Top-Right Table)
This table uses TradingView's built-in data to calculate the estimated days remaining until the next Earnings Per Share (EPS) report for a curated list of high-profile NASDAQ tickers:
AAPL, NVDA, GOOG, TSLA, MSFT, AMZN, META
3. Color-Coded Urgency
The "Days" column for both macro and earnings tables uses a traffic light system to instantly communicate how soon the event is:
Red: The event is scheduled for Today or Tomorrow (0–1 day away).
Orange: The event is scheduled for the current week (within 6 days).
Teal: The event is more than a week away.
Gray: The date is currently unavailable or outside the loaded calendar range.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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 sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.