vitvlkv

Plot earnings

2282 vizualizações
154
2282 2
HOWTO Get Earnings in Pine Script
Notas de Lançamento: Using tickerid function is better
Notas de Lançamento: Added an input showing how to get dividends and splits
Notas de Lançamento: Set lookahead param of security function to "on". Read more about it here https://www.tradingview.com/wiki/Context...
Remover dos Scripts Favoritos Adicionar para Scripts Favoritos
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!
+1 Resposta
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.
+3 Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Sinais Criptomoedas Calendário econômico Como Funciona Recursos gráficos Planos Regras da Casa Moderadores Soluções para sites e corretoras Widgets Soluções em Gráficos Obter Ajuda Solicitação de recurso Blog & Notícias FAQ Wiki Twitter
Perfil Configurações de perfil Conta e cobrança TradingView Coins Meus Tíquetes de Suporte Obter Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar