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).
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.