finallynitin

NSE Net New Highs

This indicator displays the net number of stocks on NSE (India) making 52-week highs or lows. The count is displayed as a fraction of the total number of stocks in the NSE universe.

Net New Highs (NNH) are calculated by taking the number of new 52-week highs on any given day and subtracting from it the number of new 52-week lows. A market is considered strong (bullish) when NNH are positive, or, in other words, when new highs exceed new lows.

⦿ Background highlight: We consider the bias as positive (bullish) when NNH stays positive for 3 consecutive days, & negative (bullish) when NNH stays negative for 3 consecutive days. Positive bias is highlighted with a green background. Negative bias is highlighted with a red background.

⦿ Moving Average: Another way to decrease whipsaws in analysing positive or negative NNH can be by smoothing them with a moving average. The script uses a 10-day SMA (user can modify this) of NNH. The bias is bullish when the smoothed NNH line is positive and bearish when negative.

⦿ Table: There is an option to display, in a table, the number of stocks making new 52-week highs and new 52-week lows separately. This helps in understanding which of the two metrics is responsible for the other overall net score.

Dependency:
  • The script uses the Pine Seeds service to import custom data hosted in a GitHub repository and accesses it via TradingView as the frontend. So, the number of bars appearing on charts is fully dependent on the amount of historical data available. Any error or omission, if there, is a reflection of the hosted data, & not that of Tradingview.

Limitations:
  • Such data has some limitations, like it can only be updated at EOD (End-of-Day), & only daily-based timeframes can be applied to such data. Irrespective of the intraday changes, only the last saved value on the chart is seen. So, it's best to use this script as EOD, rather than intraday.
  • At the time of publication of this script, historical data was available till the year 2004.

Credits:

受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?