OPEN-SOURCE SCRIPT
Zaktualizowano NIFTY + SENSEX Expiry Dashboard

NIFTY + SENSEX Premium Expiry Dashboard
This indicator is designed to help traders quickly track the upcoming NIFTY and SENSEX expiry dates directly on the chart through a compact premium dashboard.
It displays both weekly and monthly expiries for:
NIFTY
SENSEX
For each expiry, the dashboard shows:
Raw Expiry
Final Expiry
Holiday Name
Days Left
How it works
The script calculates the normal expiry date first, then checks whether that day falls on a holiday or weekend. If yes, it automatically shifts the expiry to the previous trading day and displays that as the Final Expiry.
This makes it useful for traders who want to avoid manually checking expiry calendars and holiday adjustments.
Dashboard includes
NIFTY Weekly Expiry
NIFTY Monthly Expiry
SENSEX Weekly Expiry
SENSEX Monthly Expiry
Holiday-based expiry adjustment
Days remaining to final expiry
Clean on-chart table layout
Useful for
Index option traders
Weekly expiry traders
Monthly expiry tracking
NIFTY and SENSEX planning
Traders who want expiry visibility directly on TradingView chart
Important note
TradingView Pine Script cannot fetch live exchange holiday calendars automatically, so the holiday list is maintained manually inside the script input. Users should update the holiday list whenever the exchange holiday calendar changes.
Features
Compact premium dashboard
Easy-to-read expiry table
Holiday-aware final expiry calculation
On-chart display
Adjustable dashboard position
This indicator is built for traders who want a simple and practical way to monitor NIFTY and SENSEX expiry schedules without leaving the chart.
Here is a slightly more premium version for publishing if you want stronger wording:
NIFTY + SENSEX Premium Expiry Dashboard
A clean and practical dashboard indicator for tracking upcoming NIFTY and SENSEX weekly and monthly expiries directly on TradingView.
The dashboard shows:
Raw Expiry
Final Expiry
Holiday Name
Days Left
The script automatically checks whether the scheduled expiry falls on a holiday or weekend and shifts it to the previous valid trading day, helping traders stay aligned with actual expiry schedules.
This indicator is especially useful for:
Weekly option traders
Monthly expiry traders
Index traders
Dashboard-based chart users
Traders who want fast expiry reference on-screen
Included rows:
NIFTY Weekly
NIFTY Monthly
SENSEX Weekly
SENSEX Monthly
Key benefit:
Instead of manually checking exchange calendars, traders can view expiry information instantly on the chart in one compact table.
Note:
Holiday data is manually maintained in the script input because Pine Script does not support live holiday calendar fetching.
This indicator is designed to help traders quickly track the upcoming NIFTY and SENSEX expiry dates directly on the chart through a compact premium dashboard.
It displays both weekly and monthly expiries for:
NIFTY
SENSEX
For each expiry, the dashboard shows:
Raw Expiry
Final Expiry
Holiday Name
Days Left
How it works
The script calculates the normal expiry date first, then checks whether that day falls on a holiday or weekend. If yes, it automatically shifts the expiry to the previous trading day and displays that as the Final Expiry.
This makes it useful for traders who want to avoid manually checking expiry calendars and holiday adjustments.
Dashboard includes
NIFTY Weekly Expiry
NIFTY Monthly Expiry
SENSEX Weekly Expiry
SENSEX Monthly Expiry
Holiday-based expiry adjustment
Days remaining to final expiry
Clean on-chart table layout
Useful for
Index option traders
Weekly expiry traders
Monthly expiry tracking
NIFTY and SENSEX planning
Traders who want expiry visibility directly on TradingView chart
Important note
TradingView Pine Script cannot fetch live exchange holiday calendars automatically, so the holiday list is maintained manually inside the script input. Users should update the holiday list whenever the exchange holiday calendar changes.
Features
Compact premium dashboard
Easy-to-read expiry table
Holiday-aware final expiry calculation
On-chart display
Adjustable dashboard position
This indicator is built for traders who want a simple and practical way to monitor NIFTY and SENSEX expiry schedules without leaving the chart.
Here is a slightly more premium version for publishing if you want stronger wording:
NIFTY + SENSEX Premium Expiry Dashboard
A clean and practical dashboard indicator for tracking upcoming NIFTY and SENSEX weekly and monthly expiries directly on TradingView.
The dashboard shows:
Raw Expiry
Final Expiry
Holiday Name
Days Left
The script automatically checks whether the scheduled expiry falls on a holiday or weekend and shifts it to the previous valid trading day, helping traders stay aligned with actual expiry schedules.
This indicator is especially useful for:
Weekly option traders
Monthly expiry traders
Index traders
Dashboard-based chart users
Traders who want fast expiry reference on-screen
Included rows:
NIFTY Weekly
NIFTY Monthly
SENSEX Weekly
SENSEX Monthly
Key benefit:
Instead of manually checking exchange calendars, traders can view expiry information instantly on the chart in one compact table.
Note:
Holiday data is manually maintained in the script input because Pine Script does not support live holiday calendar fetching.
Informacje o Wersji
holiday string splitting runs many timesthe same holiday scan is repeated for each expiry row
Pine executes across all chart bars, so the loop cost adds up
Use this lightweight optimized version. It avoids repeated string parsing and should run much faster.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.