PROTECTED SOURCE SCRIPT
NSE Index Sector Rotation Dashboard [JITENDRA]

NSE Index & Sector Rotation Dashboard
To Delivers or Track a complete market structure view in one glance, By Analyzing Factor in All Listed Broad Market & Sectorial Indices
Overview Summary of This Indicator
NSE Index & Sector Rotation Dashboard is a powerful Market Monitoring Tool that tracks Indices, Sectors in one table. It combines sector rotation theory, relative strength analysis, breakout proximity, and multi-timeframe momentum into a single Dashboard.
Designed for index traders, sector rotation traders, and swing traders, this dashboard helps identify leaders, laggards, emerging strength, and breakouts.
Key Features What This Indicator Does
The Dashboard Type option allows you to switch between:
Giving you a complete top-down trading framework:
Market → Sector → Stock
Dashboard Type
1) Broad Market Indices Mode
Purpose: Provides a complete Macro market view across all Major Indices Like NIFTY 50
NIFTY NEXT 50
BANK NIFTY
FINNIFTY
MIDCAP & SMALLCAP
INDIA VIX
CNX500
Total Market Indices
Microcap & Factor Indices
2) Sectoral Indices Mode
Purpose: Provides a Sector Rotation and where Really Market Leader Expecting for Change. It Covers Most of The Major Industry Wise Sector.
Sector Rotation Phase (Stage Analysis)
Automatically classifies each index/sector into rotation phases:
Based on:
Sector Relative Strength vs NIFTY 50 (Configurable Lookback)
Compares every index/sector against NIFTY using a user-defined lookback period.
Shows:
Weekly & Monthly Breakout Proximity (BO/BD)
Early detection of potential breakouts and breakdowns:
Uses smart % distance filters
% Distance from 52-Week High
Instantly identifies leaders vs laggards:
Multi-Timeframe Performance Tracking
Available in Percentage or Point mode.
Track Price Change momentum across multiple horizons:
Advanced Sorting & Filtering
Sort by:
Choose ascending or descending order.
Fully Customizable Dashboard
Setting Description With Image/Screenshot

SORT & Display Type Description with Image/Screenshot

Code Summary How Data Fetched And Calculated
Price Data: For each symbol, one optimized request.security() used.
Minimal security calls
Fast performance
Pine request limits safe
Pine Script®
% Distance from 52 Week High
Pine Script®
Sector Relative Strength vs NIFTY 50
Pine Script®
Thanks
Trading View Community
To Delivers or Track a complete market structure view in one glance, By Analyzing Factor in All Listed Broad Market & Sectorial Indices
- Sector Rotation
- Relative Strength
- Breakout Detection
- Leadership Analysis
- Multi-Timeframe Momentum
Overview Summary of This Indicator
NSE Index & Sector Rotation Dashboard is a powerful Market Monitoring Tool that tracks Indices, Sectors in one table. It combines sector rotation theory, relative strength analysis, breakout proximity, and multi-timeframe momentum into a single Dashboard.
Designed for index traders, sector rotation traders, and swing traders, this dashboard helps identify leaders, laggards, emerging strength, and breakouts.
Key Features What This Indicator Does
The Dashboard Type option allows you to switch between:
Giving you a complete top-down trading framework:
Market → Sector → Stock
- Macro Market View → Broad Market Indices
- Sector Rotation View → Sectoral Indices
Dashboard Type
1) Broad Market Indices Mode
Purpose: Provides a complete Macro market view across all Major Indices Like NIFTY 50
NIFTY NEXT 50
BANK NIFTY
FINNIFTY
MIDCAP & SMALLCAP
INDIA VIX
CNX500
Total Market Indices
Microcap & Factor Indices
2) Sectoral Indices Mode
Purpose: Provides a Sector Rotation and where Really Market Leader Expecting for Change. It Covers Most of The Major Industry Wise Sector.
Sector Rotation Phase (Stage Analysis)
Automatically classifies each index/sector into rotation phases:
- LEADING → Strong momentum across short & medium term
- IMPROVING → Early trend reversal
- LAGGING → Distribution phase
- BEARISH → Downtrend
- NEUTRAL → Sideways market
Based on:
- 1 Day momentum
- 5 Day momentum
- 21 Day momentum
Sector Relative Strength vs NIFTY 50 (Configurable Lookback)
Compares every index/sector against NIFTY using a user-defined lookback period.
Shows:
- OUTPER → Outperforming NIFTY
- UNDPER → Underperforming NIFTY
- NEUTRAL
Weekly & Monthly Breakout Proximity (BO/BD)
Early detection of potential breakouts and breakdowns:
- W-BO → Near Weekly Breakout
- W-BD → Near Weekly Breakdown
- M-BO → Near Monthly Breakout
- M-BD → Near Monthly Breakdown
Uses smart % distance filters
% Distance from 52-Week High
Instantly identifies leaders vs laggards:
- Near 0% → Strong leadership
- Far from highs → Weak sector
- Perfect for momentum and trend-following strategies.
Multi-Timeframe Performance Tracking
Available in Percentage or Point mode.
Track Price Change momentum across multiple horizons:
- 1D → Daily momentum
- 5D → Weekly momentum
- 21D → Monthly momentum
- 252D → Yearly performance
Advanced Sorting & Filtering
Sort by:
- Phase
- RS
- %52W
- 1D / 5D / 21D / 252D
Choose ascending or descending order.
Fully Customizable Dashboard
- Table position (9 placements)
- Table size (Small / Medium / Large)
- Column on/off toggles
- Percentage or Point change mode
Setting Description With Image/Screenshot
SORT & Display Type Description with Image/Screenshot
Code Summary How Data Fetched And Calculated
Price Data: For each symbol, one optimized request.security() used.
Minimal security calls
Fast performance
Pine request limits safe
[
close, // Current close
ta.highest(high,252), // 52 week high
close[1], // 1 day ago
close[5], // 5 days ago
close[21], // 21 days ago
close[rsDays], // RS lookback
close[252] // 1 year ago
]
% Distance from 52 Week High
%52W = (close - high52) / high52 * 100
Sector Relative Strength vs NIFTY 50
RS% = (close - close[rsDays]) / close[rsDays] * 100
NIFTY_RS = (niftyClose - niftyClose[rsDays]) / niftyClose[rsDays] * 100
RS_Diff = RS% - NIFTY_RS
Thanks
Trading View Community
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。