This indicator is a market breadth indicator.
This is an index that is derived from the number of stocks within the nifty constituents that has made 52weeks high and low.
Only top 40 stocks of nifty50 are selected as there is a limitation of calling securities in pinescript.
This indicator has to be used in conjunction with other market breadth indicators like IPB_MAMB, IPB_ADMIN, etc.
The index is customized for weekly chart. Hence please use only on weekly chart to analyze the market breadth .
Look for divergences with the price which indicate reversals.

Trading is my passion.
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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.

Want to use this script on a chart?