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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?