vitvlkv

HOWTO Get Earnings

309 1 30
A method how you can access Earnings in your Pine Script code. Enjoy!
Remove from Favorite Scripts Add to Favorite Scripts
study("HOWTO Get Earnings")
// NOTE: this is not a part of public API.
// It could be changed in the future.
t = "ESD:" + ticker + "_EARNINGS"
esti = security(t, "D", open, true)
earn = security(t, "D", close, true)
plot(esti, style=circles, linewidth=4)
plot(earn, style=cross, linewidth=4)
vitvlkv MOD
2 years ago
Updated version
Plot earnings
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out