OPEN-SOURCE SCRIPT
SPX Sector Market Breadth Above 50-DAY Average

This script is a revised version of jchang274's script.
The percentage of stocks trading above a specific moving average is a breadth indicator that measures internal strength or weakness in the underlying index. The 50-day moving average is used for short-to-medium-term timeframes. Signals can be derived from overbought/oversold levels, crosses above/below 50% and bullish / bearish divergences.
Breadth is weakening when the indicator falls and strengthening when the indicator rises. A rising market and falling indicator would raise suspicions on underlying weakness. Similarly, a falling market and rising indicator would suggest underlying strength that could foreshadow a bullish reversal.
The percentage of stocks trading above a specific moving average is a breadth indicator that measures internal strength or weakness in the underlying index. The 50-day moving average is used for short-to-medium-term timeframes. Signals can be derived from overbought/oversold levels, crosses above/below 50% and bullish / bearish divergences.
Breadth is weakening when the indicator falls and strengthening when the indicator rises. A rising market and falling indicator would raise suspicions on underlying weakness. Similarly, a falling market and rising indicator would suggest underlying strength that could foreshadow a bullish reversal.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.