vitvlkv

Plot earnings

HOWTO Get Earnings in Pine Script
Notes de version: Using tickerid function is better
Notes de version: Added an input showing how to get dividends and splits
Notes de version: Set lookahead param of security function to "on". Read more about it here https://www.tradingview.com/wiki/Context...
Supprimer des scripts favoris Ajouter aux scripts favoris

Commentaires

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 (http://www.dailyfx.com/calendar) or central bank releases (http://www.dailyfx.com/calendar/bank-calendar.html). I came across today that Investing.com using tradingview has addtional function (see link: http://uk.investing.com/quotes/us-dollar-index-streaming-chart). At the end I would like for example to have a script which would display let us say all FOMC meetings on the chart.
+6 Répondre
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?

Thanks!
+4 Répondre
Sir.
I want to use your script, but I get an error.
It says that the error is due to ESD. -_-;;
Répondre
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!
Répondre
Cannot work, it keeps on showing STUDY ERROR
Répondre
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
Répondre
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
Répondre
Accueil Screener d'actions Screener Forex Screener Crypto Calendrier économique Comment ça marche Caractéristiques du graphique Prix Parrainer un ami Règles de conduite Centre d'aide Solutions site web & courtier Widgets Solutions de cartographie Bibliothèque de graphiques allégés Blog & News Twitter
Profil Paramètres du Profil Compte et Facturation Amis référés Coins Mes tickets au support Centre d'aide Idées Publiées Followers Suivi(e) Messages privés Chat Se Déconnecter