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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.