OPEN-SOURCE SCRIPT

Industry Group Strength - India

已更新
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
快照

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
快照

Horizontal view
快照


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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明