OPEN-SOURCE SCRIPT

4C NYSE Market Breadth Ratio

Atualizado
The NYSE Market Breadth Ratio is considered by some to be the “king” of market internals. It lets you know instantly how strong current buying or selling pressure is in the broad market, to eliminate guessing or opinion.

This indicator plots the Market Breadth Ratio values for the NYSE and the NASD exchanges in real time.
It also plots the NYSE Market Breadth 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.
Notas de Lançamento
***UPDATE 07/06/22***
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.
Notas de Lançamento
Fixed script - it recently (randomly) started to call on the incorrect "DVOL" ticker, giving an incorrect NYSE Breadth Ratio, and the column plot for the NYSE Breadth was also incorrect.
Changed to call on the ticker "USI:DVOL"
Notas de Lançamento
11/10/22 Updates
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
Notas de Lançamento
11/16/22
Update - Gave the ability to adjust the text size in the Table Cells
ADDbreadthbreadthratioBreadth IndicatorsinternalsmarketmarketbreadthmarketinternalsnyseVOLD

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal