DNInspired

Earnings X-Ray

DNInspired Updated   
The script presents earnings and revenues in a tabular format. Particularly, it calculates percentage changes.

Earnings data can be found in TradingView Financials. However, percentage changes are not provided. Can TradingView implement this in the future?

Displaying earnings table on the chart has its benefits. No additional clicks required to access the data. This significantly streamlines the stock scanning process.

It is important to quickly evaluate a company's earnings when scanning for stocks. The script provides this capability.

Similar scripts have been created previously. This script corrects calculations and improves presentation with the concise code.

Data access:
Earnings = request.earnings(syminfo.tickerid, earnings.actual)
FutureEarnings = earnings.future_eps
FutureRevenue = earnings.future_revenue

Can more than one quarter of future earnings estimates become available in Pine Script in the future?

The script was validated against MarketSurge.

Features:
  • Quarterly or Yearly data
  • Configurable number of fiscal periods
  • Configurable location on the chart
  • Optional Dark mode
Release Notes:
Bug fixes. Dark mode is now automatic. Optional color the for EPS column.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?