OPEN-SOURCE SCRIPT

Industry Group Strength - India

Aggiornato
Presenting the Industry Group Strength Indicator for India market, designed to help traders identify top-performing stocks within specific industry groups that are predefined.

⦿ Identifies Leading Stocks in Industry Groups
⦿ Analyses the following metrics
  • YTD Return: Measures stock performance from the start of the year.
  • RS Rating: Relative Strength rating for user-selected periods.
  • % Return: Percentage return over a user-selected lookback period.


Features
This indicator dynamically recognises the industry group of the current stock on the chart and ranks stocks within that group based on predefined data points. Traders can add this indicator to focus on top-performing stocks relative to their industry.

⦿ Color-coded for Easy Visualisation
istantanea

You can choose from the following key metrics to rank stocks:
  • YTD Return
  • RS Rating
  • % Return


⦿ Table Format with Performance Metrics Compact mode
  • Vertical View
  • Horizontal View


All of the three metrics are shown in the compact mode and the current stock that is viewed is highlighted!

Vertical view
istantanea

Horizontal view
istantanea


Stock Ranking
Stocks are ranked based on their performance within industry groups, enabling traders to easily spot leaders and laggards in each sector. Color-coded gradients visually represent the stocks’ performance rankings, with higher percentile rankings indicating better performance.


Relative Strength (RS)
Relative Strength (RS) compares a stock’s performance against the benchmark index. The RS value is normalized from 1 to 99, making it easier to compare across different stocks. A rising RS value indicates that the stock is outperforming the market, helping traders quickly gauge relative performance within industry groups.


Limitations
At the time of developing this indicator, Pine requests are limited to 40 per script so the predefined symbols had to be filtered to 40 per Industry group


Stocks Filters

Filters that are used to filter the stocks in an Industry group to have maximum of 40 stocks

⦿ Auto, Chemical, Engineering, Finance, Pharma
  • Market Cap >= 1000 Crores and Market Cap <= 60000 Crores
  • Price >= 30 and Price <= 6000
  • 50 Days Average ( Price * Volume ) >= 6 Crores


⦿ For rest of the Industry groups
  • Market Cap >= 1000 Crores and Market Cap <= 100000 Crores
  • Price >= 20 and Price <= 10000
  • 50 Days Average ( Price * Volume ) >= 3 Crores



Credits
  1. This indicator is forked from the Script for US market by Amphibiantrading Thanks Brandon for the beginning of this indicator.
  2. This indicator is built on TradingView’s new dynamic requests feature, thanks to PineCoders for making this possible!
Note di rilascio
Option to hide or show different compact metrics
Note di rilascio
Option to override YTD table with the Custom returns % option with a look back number of days 180 days or 30 days.
Note di rilascio
Updated default custom % returns
ecindicatorsequitycrazeindustrygroupranksindustrygroupsrelativestrengthRelative Strength Comparisonstatistics

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


Anche su:

Declinazione di responsabilità