This indicator displays your choice of up to 9 fundamentals on your chart.
█ FEATURES
You can configure the following attributes of the display: • Its position on your chart. • Automatic or custom height and width of rows. • The size and color of text. • The default background color (you can override it with a custom color for individual values). • Conversion of values expressed in USD to one of the major currencies. Financials are normally expressed in quote currency. Conversion to other currencies is only done when the symbol's quote currency is USD. • Choose if the currency used for the financials is displayed. Note that some financials are calculated values that are not expressed in currency units. No currency will be displayed for these values. • Abbreviate large values.
For each value, you may: • Pick one of the 222 financials available in Pine, or one of five values calculated from the financials (Market Cap, Earnings Yield, P/B Ratio, P/E Ratio and Price-To-Sales Ratio). • Choose a period (see the "i" icon near the first value's fields in the script's inputs for a list of exceptions). • Specify the value's precision. • Change the legend displayed with the value. • Adjust the text's size. • Use a custom background.
█ LIMITATIONS
When changing the indicator's inputs, allow a few seconds for the change to be reflected in the display.
If your chart displays a symbol for which the configured financials cannot be fetched, an error will occur.
v2 Changed the calculation of Market Capitalization, Earnings Yield, Price Book Ratio, Price Earnings Ratio and Price-To-Sales Ratio so they use the `close` price rather than the `open`.
Release Notes
⋅
Updated to Pine Script™ v5
Release Notes
⋅
v4
Minor change to resolve errors on symbols without financial data.
Release Notes
⋅
v5
• Fixed a bug that was causing issues in the rendering of certain financial data points. • Enhanced the currency conversion process by integrating request.security() and the `currency` parameter directly. This has streamlined the method from two separate functions into a single, more efficient one. • Increased the breadth of currency coverage to 20 currencies. • Implemented general formatting updates to align with the Pine Script® style guide.
Would it be possible to add some description data like Sector, Industry, Country, Company Profile, Company Name,... We can find the info in the tab but it would be nice to have it right into the chart. Thx
AlexWe1992
⋅
Thanks for this nice script! Sadly since Yesterday I am getting an error: Resolve error "Funds
npesce
⋅
@AlexWe1992, try this ... float _eps = financial(syminfo.tickerid, "EARNINGS_PER_SHARE_DILUTED", "TTM") // change EARNINSGS PER SHARE to EARNINGS_PER_SHARE_BASIC or DILUTED
Awesome.
Thank you very much for the code.
Finally, I have some idea to compress this code into about 100 lines.
Geemaster
⋅
Love the script, it's always on my screen. I noticed a while back that it doesn't display Mcap for UK stocks. Also It would be good to have an option to show stats in local currencies.
strong_trader
⋅
Thanks for this wonderful script. Can you let me know how to stop displaying the values in status line for this indicator as there is no option for "values in status line" for this indicator?
primalstef
⋅
Enterprise Value to EBITDA Ratio is not being calculated properly. Please fix as this is a very important ratio with regards to understanding a company. Thank you.