finallynitin

Quarterly Earnings

finallynitin 已更新   
This script displays quarterly earnings per share (EPS) and sales data, and their year-on-year percentage change.

The script builds upon the Volume Price and Fundamentals script by Mohit_Kakkar08 and improves upon the array functions to keep the code light-weight & the output as accurate as possible. This script uses diluted EPS data for calculating the quarterly earnings. New quarters are auto-generated by the script as the earnings data gets updated in Tradingview every quarter.


Features:

⦿ View quarterly earnings per share (EPS) and sales data.

⦿ The percentage change is a YoY (year on year) comparison of the current quarter to the same quarter of the previous year.

⦿ Option to change the data from Quarterly (FQ) to Yearly (FY).

⦿ Long mode: Option to increase the number of previous quarters displayed in the table (default is the past 4 quarters) to any number.

⦿ Location & size of the table can be changed.

⦿ Option for a 1-click dark mode

⦿ Option for a 'Mini mode' where the values are replaced by traffic lights for a quick visual:
🟢 or 🔵 YoY increase in earnings/sales
🔴 or 🟣 YoY decrease in earnings/sales
🟡 or 🟠 YoY earnings/sales unchanged
⚪️ No data available

⦿ The top-left cell has the option to display either the free float (FF) or the marketcap (Mcap) of the stock.

Please note that sometimes the Tradingview data reflected in the script output might differ a bit from MarketSmith. Also make sure you are viewing the 'consolidated' data there.

This script was developed as a collaboration between me & @EquityCraze.
版本注释:
This update fixes an error in the % change calculation in the FY mode.
版本注释:
This update improves the % change calculation when the previous year quarter had 0 EPS.
版本注释:
Updated to resolve an error in the calculation of some % changes due to handling of 0 EPS.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

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

想在图表上使用此脚本?