vitvlkv

Fundamentals example

400 3 17
HOWTO Get Fundamentals data in Pine Scripts
Remove from Favorite Scripts Add to Favorite Scripts
study("Fundamentals in Pine")
field = input("DEBT_TO_EQUITY", title="EDGAR Field")
sym = tickerid("EDGR", ticker + "_" + field)
series = security(sym, "D", close, false)
plot(series, color=orange, linewidth=3, style=linebr)
Hi, very helpfull thanks!
It works for EBITDA Value, it doesnt work for MARKET CAP.
Any ideas?

study("Fundamentals in Pine")
field = input("MARKET_CAP", title="EDGAR Field")
sym = tickerid("EDGR", ticker + "_" + field)
series = security(sym, "D", close, false)
plot(series, color=orange, linewidth=3, style=linebr)
Reply
ilamfev ilamfev
Here is the solution:
sym2 = tickerid("EDGR", ticker + "_" + "TOTAL_SHARES_OUTSTANDING")
shares = security(sym2,"D",close,false)
stock = security(ticker,"D",close,false)
mkt=stock*shares

Thank you! Appreciate it!
Reply
study("Fundamentals in Pine")
field = input("DIVIDENDS_PAID", title="EDGAR Field")
sym = tickerid("EDGR", ticker + "_" + field)
series = security(sym, "D", close, true)
plot(series, color=orange, linewidth=3, style=linebr)
+2 Reply
English
English (UK)
English (IN)
Deutsch
Français
Español
Italiano
Polski
Türkçe
Русский
Português
Bahasa Indonesia
Bahasa Melayu
ภาษาไทย
Tiếng Việt
日本語
한국어
简体中文
繁體中文
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out