OPEN-SOURCE SCRIPT
已更新

Earnings X-Ray

2 967
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.
版本注释
Minor bug fix.
版本注释
Update the chart

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。