OPEN-SOURCE SCRIPT

EPS YoY% Labels (MarketSurge / IBD style)

79
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).

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.