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 אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?


גם על:

כתב ויתור