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, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.