Мarket Breadth Labels

History and credits
The idea about this indicator, came from a friend teodorgun.https://www.tradingview.com/u/teodorgun/

Special thanks to QuantNomad, whose courses got me started on programming on PineScript. https://www.tradingview.com/u/QuantNomad/

What it does
The indicator plots various values from market breadth indicators.
It shows the % stocks above certain moving averages for different indexes.

The first 3 cells, display the Advance Decline Ratios:
1. Total Advance Decline Ratio
2. NYSE Advance Decline Ratio
3. Nasdaq Advance Decline Ratio
- coloring for these is simple (value > threshold = color is green, value < threshold = color is red)

The rest of the columns display % stocks above the moving averages.
For example a value of 20 in column 4 ("Stocks above 5D MA), means that only 20% of the stocks are above their 5D moving average.
Line 1 shows current value of the indexes.
Line 2 shows value 5days ago (assuming that 5 trading days = 1 trading week).

- Line 1 Coloring: coloring here is divided between 2 tresholds ( value < lower treshold = color is red, value > lower treshold AND value < higher treshold = color is yellow, value > higher treshold = color is green)

- Line 2 Coloring: no coloring logic is applied here.

How to use it
There are several techniques for breadth indicators, many can be read online, but generally these indicators are considered contrarian. This means that high values indicate overbought conditions and low values indicate oversold conditions.

👋 Join our DISCORD channel (⚠️ first 150 people join for free), afterwards $40-150/ month💰
• Market Overview
• Daily Recap
• Watchlist & Alert service
• Premium research
• Educational content

Premium indicator available on website 🤖
Protected script
This script is published closed-source and you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.

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?