finallynitin

NSE Market Breadth based on 4% Advance & Decline

This indicator displays a ratio count of NSE (India) stocks advancing or declining by 4% daily.

Market breadth provides insights into the participation of stocks in a market's movement.
Various interpretations of market breadth exist, including gauging the quantity of new highs and new lows or evaluating up and down volume. Nevertheless, all breadth indicators fundamentally stem from the same basic concept, which can be expressed mathematically as the number of advancing & declining stocks.

Thus, a count or ratio of advancing & declining stock objectively depicts the participation of stocks in an index or stock universe.

A 4% advance or decline shows a significant range expansion.

⦿ The script calculates advances as a ratio of the daily percentage change ≥ 4% & the total number of stocks.
⦿ Declines are calculated as a ratio of the daily percentage change < -4% & the total number of stocks.
⦿ Net breadth is simply calculated by subtracting the declines from the advances. (4% up - 4% down). This depicts whether the day was bearish or bullish.

Green area depicts the 4% advances.

Red area depicts the 4% declines.

The table provides the actual values for the Advances, declines & the net breadth for the day.
There is an option to turn on dark mode in the settings.


There is an option to display only the net breadth.


You can turn on the Expanded mode for the table which will display the data for the past week.


Among other options, you can choose to not display colors in the table.
There is an option plot 'comfort' levels' of +/- 10 also.


Interpretation

A market where advances are more than declines is indicative of a healthy bull market. But extreme breadth can signal exhaustion, often leading to a reversal. This is true in case of advances as well as declines.

If a market continues to rise while breadth does not increase, this is considered a divergence, which frequently leads to a reversal of the prevailing trend.


Dependency:
  • The script uses the Pine Seeds service to import custom data hosted in a GitHub repository and accesses it via TradingView as the frontend. So, the number of bars appearing on charts is fully dependent on the amount of historical data available. Any error or omission, if there, is a reflection of the hosted data, & not that of TradingView.
Limitations:
  • Such data has some limitations, like it can only be updated at EOD (End-of-Day), & only daily-based timeframes can be applied to such data. Irrespective of the intraday changes, only the last saved value on the chart is seen. So, it's best to use this script as EOD, rather than intraday.
  • At the time of publication of this script, historical data was available till the year 2004.
  • The universe of stocks chosen for the data is all stocks with latest Close >= 1 and Market Cap > 10.
Credits:

Geschütztes Skript
Dieses Skript wird als Closed-Source veröffentlicht und Sie können es frei verwenden. Sie können es favorisieren, um es auf dem Chart zu verwenden. Sie können den Quellcode nicht einsehen oder verändern.
Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?