OPEN-SOURCE SCRIPT
StockInfo: Sector/Industry /MarketCap

This indicator is designed to give traders a quick, accurate, and clean snapshot of the business fundamentals behind any Indian stock — directly on the chart. With a focus on the needs of retail investors, swing traders, and position traders, this tool displays the most important classification details used in market analysis:
✔ Sector
✔ Industry
✔ Market-Cap Category (Large / Mid / Small Cap – SEBI aligned)
✔ Stock Symbol (Exchange:Ticker)
All information is shown in a compact, customizable table, positioned neatly on the chart without disturbing your technical analysis.
Why this indicator is useful
1️⃣ Know what you are trading — instantly
Many traders unknowingly enter trades without checking whether a stock is:
part of the right sector cycle
in a strong or weak industry
a large, mid, or small cap
This tool puts that information right in front of you, saving time and preventing mistakes.
2️⃣ Helps identify sector rotation & industry strength
Sector and industry trends often drive strong multi-week moves.
This indicator allows you to:
Quickly compare a stock’s sector with others
Spot sector rotation early
Filter stocks based on industry strength
Perfect for momentum, trend, and positional traders.
3️⃣ Automatic Market-Cap Classification (SEBI-aligned)
The script automatically categorizes stocks into:
LARGE CAP (safe, stable, institutional favourites)
MID CAP (growth stage, volatile but rewarding)
SMALL CAP (high-risk, high-reward)
Great for risk profiling and deciding correct position size and portfolio allocation.
4️⃣ Fully Customisable User Interface
You can change:
Table position (all four corners)
Font size (Tiny → Huge)
Header & value colors
Background colors
Border color & width
Which rows to display
This keeps the indicator clean and flexible for every type of chart layout.
5️⃣ Perfect for Traders Who Combine Fundamentals + Technicals
This is not a heavy fundamental tool.
Instead, it gives you exactly the core business details you need while performing technical analysis.
Useful for:
Swing traders
Position traders
Portfolio allocation
Index-relative comparison
Sector/industry-based screening
How traders typically use this indicator
Identify the sector leader in a breakout
Avoid weak or declining industries
Confirm if a stock fits your risk profile
Quickly check classification during live market
Build thematic watchlists (Auto, IT, Pharma, PSU, Defense, etc.)
Avoid mixing small-caps into large-cap strategies
Compare sector rotation with Nifty, Bank Nifty & broader indices
Conclusion
This indicator enhances any chart by adding high-level business intelligence directly on screen.
It improves decision-making, reduces time spent switching between windows, and keeps your analysis complete — all in one place.
If you trade Indian equities, this is one of the simplest yet most powerful fundamental overlays you can add to your workflow.
✔ Sector
✔ Industry
✔ Market-Cap Category (Large / Mid / Small Cap – SEBI aligned)
✔ Stock Symbol (Exchange:Ticker)
All information is shown in a compact, customizable table, positioned neatly on the chart without disturbing your technical analysis.
Why this indicator is useful
1️⃣ Know what you are trading — instantly
Many traders unknowingly enter trades without checking whether a stock is:
part of the right sector cycle
in a strong or weak industry
a large, mid, or small cap
This tool puts that information right in front of you, saving time and preventing mistakes.
2️⃣ Helps identify sector rotation & industry strength
Sector and industry trends often drive strong multi-week moves.
This indicator allows you to:
Quickly compare a stock’s sector with others
Spot sector rotation early
Filter stocks based on industry strength
Perfect for momentum, trend, and positional traders.
3️⃣ Automatic Market-Cap Classification (SEBI-aligned)
The script automatically categorizes stocks into:
LARGE CAP (safe, stable, institutional favourites)
MID CAP (growth stage, volatile but rewarding)
SMALL CAP (high-risk, high-reward)
Great for risk profiling and deciding correct position size and portfolio allocation.
4️⃣ Fully Customisable User Interface
You can change:
Table position (all four corners)
Font size (Tiny → Huge)
Header & value colors
Background colors
Border color & width
Which rows to display
This keeps the indicator clean and flexible for every type of chart layout.
5️⃣ Perfect for Traders Who Combine Fundamentals + Technicals
This is not a heavy fundamental tool.
Instead, it gives you exactly the core business details you need while performing technical analysis.
Useful for:
Swing traders
Position traders
Portfolio allocation
Index-relative comparison
Sector/industry-based screening
How traders typically use this indicator
Identify the sector leader in a breakout
Avoid weak or declining industries
Confirm if a stock fits your risk profile
Quickly check classification during live market
Build thematic watchlists (Auto, IT, Pharma, PSU, Defense, etc.)
Avoid mixing small-caps into large-cap strategies
Compare sector rotation with Nifty, Bank Nifty & broader indices
Conclusion
This indicator enhances any chart by adding high-level business intelligence directly on screen.
It improves decision-making, reduces time spent switching between windows, and keeps your analysis complete — all in one place.
If you trade Indian equities, this is one of the simplest yet most powerful fundamental overlays you can add to your workflow.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。