OPEN-SOURCE SCRIPT
Cập nhật Earnings and Sales Acceleration [skm]

Earnings & Sales Acceleration (ESA)
Identifies stocks where both EPS and revenue growth are accelerating over three consecutive quarters on a year-over-year basis -- the "second derivative" of earnings growth popularised by investors like Stanley Druckenmiller. The idea is that a company posting an increasing YoY growth rate each quarter is building fundamental momentum the market often underestimates.
HOW ACCELERATION IS DEFINED
EPS Acceleration: YoY EPS growth must be strictly increasing across three consecutive quarters -- Q2 < Q1 < Q0 (oldest to newest). Each quarter is compared to the same quarter one year prior (4 earnings events back).
Revenue Acceleration: Same logic applied to YoY revenue growth. For newly listed stocks with limited history, TradingView's pre-calculated REVENUE_ONE_YEAR_GROWTH field is used as a fallback.
Strong Signal: Triggered only when both EPS and Revenue are simultaneously accelerating. This dual confirmation reduces false positives.
WHAT IS PLOTTED
- EPS YoY% columns at each earnings bar. Green = EPS accelerating, Red = not.
- Sales YoY% columns at each earnings bar. Green = Sales accelerating, Red = not.
- ESA label above the bar on a Strong Acceleration signal.
- DEC label below the bar on a Strong Deceleration signal.
- All visuals appear only at earnings event bars, keeping the chart clean.
A summary table in the top-right shows Q0, Q1, Q2 YoY growth for both EPS and Sales, plus YES/NO acceleration status and the overall signal.
HOW TO USE IN PINE SCREENER
The indicator exposes three screener outputs:
"Accel Signal = 1" -- Both EPS and Revenue accelerating for 3 consecutive quarters (strictest filter).
"EPS Accel Signal = 1" -- EPS alone accelerating for 3 consecutive quarters.
"Rev Accel Signal = 1" -- Revenue alone accelerating for 3 consecutive quarters.
To use: open the Stock Screener, click Filters, scroll to Add Indicator, search for "Earnings & Sales Acceleration" and add it. Set your chosen condition to = 1.
For best results, combine with additional filters such as minimum market cap, average volume above 500K, and a trend condition (e.g. price above the 50-week EMA) to ensure chart structure supports the fundamental thesis.
ALERTS
Two alert conditions are included: Strong Dual Acceleration (both metrics accelerating) and Strong Dual Deceleration (both decelerating). Set these via right-click on the indicator name.
LIMITATIONS
- Requires TradingView fundamental data. Not available for ETFs, indices, forex or crypto.
- Stocks with fewer than 6 quarters of history will show N/A for EPS acceleration.
- When the prior year quarter had negative EPS, YoY percentages should be interpreted with caution.
- Best viewed on Weekly charts to align with the quarterly earnings cadence.
Identifies stocks where both EPS and revenue growth are accelerating over three consecutive quarters on a year-over-year basis -- the "second derivative" of earnings growth popularised by investors like Stanley Druckenmiller. The idea is that a company posting an increasing YoY growth rate each quarter is building fundamental momentum the market often underestimates.
HOW ACCELERATION IS DEFINED
EPS Acceleration: YoY EPS growth must be strictly increasing across three consecutive quarters -- Q2 < Q1 < Q0 (oldest to newest). Each quarter is compared to the same quarter one year prior (4 earnings events back).
Revenue Acceleration: Same logic applied to YoY revenue growth. For newly listed stocks with limited history, TradingView's pre-calculated REVENUE_ONE_YEAR_GROWTH field is used as a fallback.
Strong Signal: Triggered only when both EPS and Revenue are simultaneously accelerating. This dual confirmation reduces false positives.
WHAT IS PLOTTED
- EPS YoY% columns at each earnings bar. Green = EPS accelerating, Red = not.
- Sales YoY% columns at each earnings bar. Green = Sales accelerating, Red = not.
- ESA label above the bar on a Strong Acceleration signal.
- DEC label below the bar on a Strong Deceleration signal.
- All visuals appear only at earnings event bars, keeping the chart clean.
A summary table in the top-right shows Q0, Q1, Q2 YoY growth for both EPS and Sales, plus YES/NO acceleration status and the overall signal.
HOW TO USE IN PINE SCREENER
The indicator exposes three screener outputs:
"Accel Signal = 1" -- Both EPS and Revenue accelerating for 3 consecutive quarters (strictest filter).
"EPS Accel Signal = 1" -- EPS alone accelerating for 3 consecutive quarters.
"Rev Accel Signal = 1" -- Revenue alone accelerating for 3 consecutive quarters.
To use: open the Stock Screener, click Filters, scroll to Add Indicator, search for "Earnings & Sales Acceleration" and add it. Set your chosen condition to = 1.
For best results, combine with additional filters such as minimum market cap, average volume above 500K, and a trend condition (e.g. price above the 50-week EMA) to ensure chart structure supports the fundamental thesis.
ALERTS
Two alert conditions are included: Strong Dual Acceleration (both metrics accelerating) and Strong Dual Deceleration (both decelerating). Set these via right-click on the indicator name.
LIMITATIONS
- Requires TradingView fundamental data. Not available for ETFs, indices, forex or crypto.
- Stocks with fewer than 6 quarters of history will show N/A for EPS acceleration.
- When the prior year quarter had negative EPS, YoY percentages should be interpreted with caution.
- Best viewed on Weekly charts to align with the quarterly earnings cadence.
Phát hành các Ghi chú
Earnings & Sales Acceleration (ESA)Identifies stocks where both EPS and revenue growth are accelerating over three consecutive quarters on a year-over-year basis -- the "second derivative" of earnings growth popularised by investors like Stanley Druckenmiller. The idea is that a company posting an increasing YoY growth rate each quarter is building fundamental momentum the market often underestimates.
HOW ACCELERATION IS DEFINED
EPS Acceleration: YoY EPS growth must be strictly increasing across three consecutive quarters -- Q2 < Q1 < Q0 (oldest to newest). Each quarter is compared to the same quarter one year prior (4 earnings events back).
Revenue Acceleration: Same logic applied to YoY revenue growth. For newly listed stocks with limited history, TradingView's pre-calculated REVENUE_ONE_YEAR_GROWTH field is used as a fallback.
Strong Signal: Triggered only when both EPS and Revenue are simultaneously accelerating. This dual confirmation reduces false positives.
WHAT IS PLOTTED
- EPS YoY% columns at each earnings bar. Green = EPS accelerating, Red = not.
- Sales YoY% columns at each earnings bar. Green = Sales accelerating, Red = not.
- ESA label above the bar on a Strong Acceleration signal.
- DEC label below the bar on a Strong Deceleration signal.
- All visuals appear only at earnings event bars, keeping the chart clean.
A summary table in the top-right shows Q0, Q1, Q2 YoY growth for both EPS and Sales, plus YES/NO acceleration status and the overall signal.
HOW TO USE IN PINE SCREENER
The indicator exposes three screener outputs:
"Accel Signal = 1" -- Both EPS and Revenue accelerating for 3 consecutive quarters (strictest filter).
"EPS Accel Signal = 1" -- EPS alone accelerating for 3 consecutive quarters.
"Rev Accel Signal = 1" -- Revenue alone accelerating for 3 consecutive quarters.
To use: open the Stock Screener, click Filters, scroll to Add Indicator, search for "Earnings & Sales Acceleration" and add it. Set your chosen condition to = 1.
For best results, combine with additional filters such as minimum market cap, average volume above 500K, and a trend condition (e.g. price above the 50-week EMA) to ensure chart structure supports the fundamental thesis.
ALERTS
Two alert conditions are included: Strong Dual Acceleration (both metrics accelerating) and Strong Dual Deceleration (both decelerating). Set these via right-click on the indicator name.
LIMITATIONS
- Requires TradingView fundamental data. Not available for ETFs, indices, forex or crypto.
- Stocks with fewer than 6 quarters of history will show N/A for EPS acceleration.
- When the prior year quarter had negative EPS, YoY percentages should be interpreted with caution.
- Best viewed on Weekly charts to align with the quarterly earnings cadence.
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.