OPEN-SOURCE SCRIPT

Industry Group Strength - India

Telah dikemas kini
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
syot kilat

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
syot kilat

Horizontal view
syot kilat


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!
Nota Keluaran
Option to hide or show different compact metrics
Nota Keluaran
Option to override YTD table with the Custom returns % option with a look back number of days 180 days or 30 days.
Nota Keluaran
Updated default custom % returns
ecindicatorsequitycrazeindustrygroupranksindustrygroupsrelativestrengthRelative Strength Comparisonstatistics

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian