Plot earnings

צפיות ‎7533‎
HOWTO Get Earnings in Pine Script
הערות שחרור: Using tickerid function is better
הערות שחרור: Added an input showing how to get dividends and splits
הערות שחרור: Set lookahead param of security function to "on". Read more about it here
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

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


I want to use your script, but I get an error.
It says that the error is due to ESD. -_-;;
+14 השב
Thank you! Great work. Just wondering do you think there is a way to plot information from external source such as publically available economic calenders ( or central bank releases ( I came across today that using tradingview has addtional function (see link: At the end I would like for example to have a script which would display let us say all FOMC meetings on the chart.
+9 השב
Hey @vitvlkv

Thanks very much for this code. I'm trying to divide the current quarter by the same quarter's earning in the year previous (so divide the current EPS by the EPS 4 quarters ago).

I can't figure out how to do this because when referencing c or c or c etc this fetches the previous period value, instead of the previous earnings value.

My programming skills aren't sharp enough to figure out how to do this - would you be able to help please?

+7 השב
Cannot work, it keeps on showing STUDY ERROR
+6 השב
I am getting error shows error in ESD? request if you can share if there is any changes required in esd? not able to figure out the issue!
+5 השב
The reason I ask is I have never seen a charting service that plots the dividend yield on the price graph , this would really be great for visual references for value hunters looking at charts
+3 השב
andkii Prober7314
@Prober7314, if you havent found it yet, check out Free platform, and you can chart all sorts of macro/financials right on a price chart
How would you plot the dividend yield for all stocks when viewing for various for set standards, for example looking at apple , I would like to plot 4 yield variable as line markers for the following,2%,3%,4% and so on as reference to price action
+2 השב
Can i get this script for angular ?
+1 השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי אודות תכונות גרף מחירון הפנה חבר כללי הבית מרכז תמיכה כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל בלוג וחדשות טוויטר‏