OPEN-SOURCE SCRIPT
EPS YoY% Labels (MarketSurge / IBD style)

This script automatically calculates and displays year-over-year quarterly EPS growth (%) directly on the chart, in the same style used by MarketSurge / IBD.
🔹 Key Features
Detects each quarterly earnings report and shows EPS YoY growth as a label above the bar.
Works with both reported EPS and standardized EPS (selectable in settings).
Positive growth is highlighted in green, while negative growth is highlighted in red.
Optional setting to hide negative results for a cleaner, bullish-focused view.
Adjustable decimal precision (0–2 decimals) for percentage display.
🔹 Why it’s useful
EPS growth is one of the core fundamentals that top traders like Mark Minervini and William O’Neil (IBD) focus on when screening for market leaders.
Now you can see at a glance how a stock’s earnings power is accelerating or decelerating — without flipping between platforms.
Combine with Relative Strength (RS) analysis and price/volume patterns for a complete growth-stock trading workflow.
🔹 Example
If a company reports EPS of $1.20 this quarter vs. $0.80 in the same quarter last year, the label will display:
EPS +50% (green).
🔹 Key Features
Detects each quarterly earnings report and shows EPS YoY growth as a label above the bar.
Works with both reported EPS and standardized EPS (selectable in settings).
Positive growth is highlighted in green, while negative growth is highlighted in red.
Optional setting to hide negative results for a cleaner, bullish-focused view.
Adjustable decimal precision (0–2 decimals) for percentage display.
🔹 Why it’s useful
EPS growth is one of the core fundamentals that top traders like Mark Minervini and William O’Neil (IBD) focus on when screening for market leaders.
Now you can see at a glance how a stock’s earnings power is accelerating or decelerating — without flipping between platforms.
Combine with Relative Strength (RS) analysis and price/volume patterns for a complete growth-stock trading workflow.
🔹 Example
If a company reports EPS of $1.20 this quarter vs. $0.80 in the same quarter last year, the label will display:
EPS +50% (green).
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.