This TradingView Pine Script, written in version 5, is designed to display key financial metrics of a selected ticker in a customizable table format. The script calculates and presents several financial ratios and values, including Market Capitalization, Price-to-Earnings (P/E) Ratio, Return on Equity (ROE), Return on Assets (ROA), Return on Capital Employed (ROCE), Earnings Per Share (EPS), Price-to-Book (P/B) Ratio, and Price-to-Sales (P/S) Ratio.
Users can adjust the table's size and position on the chart, allowing flexibility in how the data is displayed. The data is dynamically retrieved using the request.financial function, making the script adaptable to various stocks and financial instruments available on TradingView.