OPEN-SOURCE SCRIPT
Updated Estimate, Earnings, Surprise Earnings

This plot helps you to show estimate earnings, reported earnings, and surprise earnings of a company inside a chart.
Estimate earning is plotted by white lines

Reported Earnings is plotted by columns, where positive number is blue and negative number is purple.

Surprise Earnings is plotted by columns, where positive number is green and negative number is red.

You surely will be able to tweak and customize all the colors above with color you find comfortable.
Since earnings are reported every quarter of the year, this plot will gives a good view when you put it inside a 3 Months timeframe.
Hope this helpful.
- Estimate earnings is the projection of earnings of a company by the analysts for a given period of time.
- Earnings is a company's reported profits (or sometimes a loss if going negative) in a given quarter or fiscal year.
- Surprise earnings is an earning (or sometimes a loss if going negative) which is above (or even below) the estimated or reported earnings.
Estimate earning is plotted by white lines
Reported Earnings is plotted by columns, where positive number is blue and negative number is purple.
Surprise Earnings is plotted by columns, where positive number is green and negative number is red.
You surely will be able to tweak and customize all the colors above with color you find comfortable.
Since earnings are reported every quarter of the year, this plot will gives a good view when you put it inside a 3 Months timeframe.
Hope this helpful.
Release Notes
Update 29 Nov 2021 (v.0.2)Change Estimated Earnings chart type from line to stepline to make it easier to see.
Adds Standardized Earnings into indicator, because sometimes the company doesn't provide much detailed information. If you browse a stocks that doesn't have earnings information, you need to enable Standardized Earnings first because it's unticked by default.
https://tradingview.sweetlogin.com/x/1eCczQjZ/
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.