OPEN-SOURCE SCRIPT
已更新

Earnings X-Ray

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

版本注释
Bug fixes. Dark mode is now automatic. Optional color the for EPS column.
版本注释
Converted to Pine Script v6.
Added Transparency setting.
Handled edge case for missing revenue value just after earnings release.

免责声明