OPEN-SOURCE SCRIPT
Actualizado 63-Day Sector Relative Strength vs NIFTY

This script calculates and displays the 63-day returns of major NSE sectoral indices and their relative strength versus the NIFTY 50.
It,
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).
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).
Notas de prensa
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
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.