OPEN-SOURCE SCRIPT
Updated

EPS+Sales+Net Profit+MCap+Sector & Industry

1 056
📄 Full Description
This script displays a comprehensive financial data panel directly on your TradingView chart, helping long-term investors and swing traders make informed decisions based on fundamental trends. It consolidates key financial metrics and business classification data into a single, visually clear table.

🔍 Key Features:

🧾 Financial Metrics (Auto-Fetched via request.financial):
EPS (Earnings Per Share) – Displayed with trend direction (QoQ or YoY).
Sales / Revenue – In ₹ Crores (for Indian stocks), trend change also included.
Net Profit – Also in ₹ Crores, along with percentage change.
Market Cap – Automatically calculated using outstanding shares × price, shown in ₹ Cr.
Free Float Market Cap – Based on float shares × price, also in ₹ Cr.

🏷️ Sector & Industry Info:
Automatically identifies and displays the Sector and Industry of the stock using syminfo.sector and syminfo.industry.
Displayed inline with metrics, making it easy to know what business the stock belongs to.

📊 Table View:
Compact and responsive table shown on your chart.
Columns: Date | EPS | QoQ | Sales | QoQ | Net Profit | QoQ | Metrics
Metrics column dynamically shows:
Market Cap
Free Float
Sector (Row 4)
Industry (Row 5)

🌗 Appearance:
Supports Dark Mode and Mini Mode toggle.
You can also customize:
Number of data points (last 4+ quarters or years)
Table position and size

🎯 Use Case:
This script is ideal for:

Fundamental-focused traders who use EPS/Sales trends to identify momentum.
Swing traders who combine price action with fundamental tailwinds.
Portfolio builders who want to see sector/industry alignment quickly.
It works best with fundamentally sound stocks where earnings and profitability are a major factor in price movements.

✅ Important Notes:
Script uses request.financial which only works with supported symbols (mostly stocks).
Market Cap and Free Float are calculated in ₹ Crores.
All financial values are rounded and formatted for readability (e.g., 1,234 Cr).

🙏 Credits:
Developed and published by Sameer Thorappa
Built with a clean, minimalist approach for high readability and functionality.
Release Notes
Update – Added P/E Ratio to the Table 📊

In this update, I’ve introduced the Price-to-Earnings (P/E) ratio directly into the indicator’s table for quicker and more informed decision-making.

Now, along with the existing fundamental details, you can instantly see the stock’s valuation metric without having to
leave your chart.

This helps you:

🔶 Quickly assess valuation at a glance.
🔶 Compare stocks in the same sector or industry.
🔶 Spot potential opportunities when P/E is unusually high or low.

This makes the indicator even more powerful for traders who blend technical analysis with fundamentals.

Release Notes
Version 2.1 – Corrected PE Wording to P/E

✅ In this update, I refined the table’s label for clarity — the metric previously shown as “PE” is now displayed as “P/E” (Price-to-Earnings), following standard financial notation. This makes the table more accurate and professional.
Release Notes
📊 Cleaner Look, Smarter Insights!
🚀 New Update Released – your favorite indicator just got even better:
✨ What’s New

✅Company names now displayed directly in the table
✅Customize header, table, and text colors to match your chart
✅Smarter P/E conditional formatting for instant clarity:
🔴 Negative P/E
🟢 Healthy (0–50)
🟠 High (>50)
✅Upgraded to Pine Script v6 for better performance & future-ready support

🗑️ What’s Removed

❎Dark theme option
❎Mini mode
Release Notes
- Minor correction in Smarter P/E conditional formatting for instant clarity
🔴 Negative P/E
🟢 Healthy (0–50)
🟠 High (>50)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.