ch4ter

Bank Nifty Market Breadth (OsMA)

This indicator is the market breadth for Bank Nifty (NSE:BANKNIFTY) index calculated on the histogram values of MACD indicator. Each row in this indicator is a representation of the histogram values of the individual stock that make up Bank Nifty. Components are listed in order of its weightage to Bank nifty index (Highest -> Lowest).

When you see Bank Nifty is on an uptrend on daily timeframe for the past 10 days, you can see what underlying stocks support that uptrend. The brighter the plot colour, the higher the momentum and vice versa. Looking at the individual rows that make up Bank Nifty, you can have an understanding if there is still enough momentum in the underlying stocks to go higher or are there many red plots showing up indicating a possible pullback or trend reversal.

The plot colours are shown as a percentage of the current histogram value taken from MACD from the highest histogram value of the previous 200 bars shown on the current timeframe. Look back value of 200 bars was chosen as it provided a better representation of the current value from its peak over the recent past(previous 200 bars), on all timeframes. Histogram value do grow/fall along with the underlying stock price, so choosing the chart's all-time high/low value as peak was not ideal. Labels on the right show the current histogram value.


Base Code taken from @fengyu05's S&P 500 Market Breadth indicator.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?