OPEN-SOURCE SCRIPT
Mis à jour

Earnings X-Ray

3 233
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

Notes de version
Bug fixes. Dark mode is now automatic. Optional color the for EPS column.
Notes de version
Converted to Pine Script v6.
Added Transparency setting.
Handled edge case for missing revenue value just after earnings release.
Notes de version
Minor bug fix.
Notes de version
Update the chart

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.