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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.