OPEN-SOURCE SCRIPT

Nifty Advance/Decline Ratio - First 20 Stocks

465
Nifty 20 Advance/Decline Ratio Indicator

This Pine Script tracks the Advance/Decline Ratio of the top 20 Nifty stocks (by weightage as of March 31, 2025). It helps gauge the market's strength by comparing the number of advancing vs. declining stocks among major Nifty heavyweights. The script calculates and plots the ratio, with a reference line at 1 (neutral point). This indicator resets daily and provides insights into overall market trends based on the performance of the top Nifty stocks.

Key Features:

Tracks advance/decline movements of top 20 Nifty stocks.

Plots the Advance/Decline Ratio on the chart.

Resets daily for fresh analysis.

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.