This indicator plots the Ratio values for the NYSE and the NASD exchanges in real time.
It also plots the NYSE Ratio in a histogram plot for visual reference.
The indicator dynamically changes colors between green and red depending on whether breadth is currently positive or negative.
This indicator divides the 'Up-Volume' ("UVOL") by 'Down-Volume' ("DVOL"), for each exchange.
It can be added to any chart, but is incredibly useful when added to other sources of market internals like the NYSE Advancers/Decliners Difference (ticker ADD) or with the NYSE UVOL / DVOL Difference (ticker VOLD ).
Credit goes to author=@auron9000 as the bulk of this code was from their Breadth Ratio Bubbles indicator.
---> The changes made to their indicator include: bug fixes where the values werent properly updating; fixed indicator to be a separate plot (not chart overlay), and added the histogram plot.
Added a third table that dynamically plots the value of the NYSE Advancers minus Decliners (ticker 'ADD').
The 4C NYSE Market Breadth Ratio indicator is very useful when used with the ADD chart, and now makes it easier to see the ADD value alongside the Breadth Ratio values.
Changed to call on the ticker "USI:DVOL"
1) Moved the Labels (table) to the right of the indicator, as the old version the labels were often overlapping and covering up the indicator histogram plot.
2) Changed the Label sizing to automatic. The previous text was set to large and was often overlapping the and covering up the indicator histogram plot.
3) Added a zeroline horizontal line plot
Update - Gave the ability to adjust the text size in the Table Cells
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.