finallynitin

Quarterly Earnings

finallynitin Aggiornato   
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.
Note di rilascio:
This update fixes an error in the % change calculation in the FY mode.
Note di rilascio:
This update improves the % change calculation when the previous year quarter had 0 EPS.
Note di rilascio:
Updated to resolve an error in the calculation of some % changes due to handling of 0 EPS.

Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?