OPEN-SOURCE SCRIPT
Updated

63-Day Sector Relative Strength vs NIFTY

28
This script calculates and displays the 63-day returns of major NSE sectoral indices and their relative strength versus the NIFTY 50.
It,
  • [computes 63-day price returns for each sector index]
    [calculates the relative performance of each sector against the Nifty 50]
    [displays results in a table at the top right corner of the chart]
    [highlights positive vs negative relative strength for quick comparision]


Covered Indices: CNXIT, CNXAUTO, CNXFMCG, CNXPHARMA, CNXENERGY, CNXMETAL, CNXPSUBANK, CNXINFRA, CNXREALTY, CNXFINANCE, CNXMEDIA, BANKNIFTY, CNXCONSUMPTION, CNXCOMMODITIES

How to use this: Quickly identify which sectors are outperforming or underperforming relative to the NIFTY over the past 63 trading sessions (approx. 3 months).
Release Notes
This script calculates and displays the 63-day returns of major NSE sectoral indices and their relative strength versus the NIFTY 50.
It,
  • Computes 63-day price returns for each sector index.
  • Calculates the relative performance of each sector against the NIFTY 50.
  • Displays results in a neat table at the top-right corner of the chart.
  • Highlights positive vs negative relative strength for quick comparison.


Covered Indices: CNXIT, CNXAUTO, CNXFMCG, CNXPHARMA, CNXENERGY, CNXMETAL, CNXPSUBANK, CNXINFRA, CNXREALTY, CNXFINANCE, CNXMEDIA, BANKNIFTY, CNXCONSUMPTION, CNXCOMMODITIES

Useful to quickly identify which sectors are outperforming or underperforming relative to the broader market (i.e. NIFTY) over the past 63 trading sessions (approx. 3 months). Useful for sector rotation analysis, relative momentum analysis and macro market views

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.