OPEN-SOURCE SCRIPT
업데이트됨 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.
릴리즈 노트
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.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.