OPEN-SOURCE SCRIPT
Cập nhật 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).
Phát hành các Ghi chú
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
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.