OPEN-SOURCE SCRIPT
Telah dikemas kini ValueView

Title: ValueView
Description:
ValueView is a script designed to cater to the needs of value investors. Its primary purpose is to provide a comprehensive overview of the financial performance of a stock, making it easier for investors to assess the intrinsic value and potential investment opportunities.
The script displays a concise summary of essential fundamental values and metrics in the form of a customizable table, directly integrated into the chart. This allows investors to evaluate the stock's performance for a variable number of fiscal years, as defined by the user. The input flexibility enables users to focus on the timeframes that are most relevant to their analysis.
ValueView works on timeframes greater than or equal to "DAY", ensuring that the data presented is reliable and relevant for long-term value investing strategies. With this feature, investors can focus on the bigger picture and avoid getting distracted by short-term fluctuations.
With ValueView, investors can choose to select or deselect specific metrics according to their investment strategy and preferences. This feature ensures that users are presented with the information they find most valuable, allowing them to make more informed decisions based on their unique perspective.
Key Features:
Quick overview of the financial performance of a stock for value investors
Customizable table displaying essential fundamental values and metrics
User-defined number of fiscal years for analysis
Select and deselect metrics to tailor the output to individual preferences
ValueView offers a convenient, time-saving solution for value investors looking to gain a deep understanding of a stock's financial performance. With its customizable features and easy-to-use interface, this script simplifies the process of identifying promising investments and making informed decisions.
Description:
ValueView is a script designed to cater to the needs of value investors. Its primary purpose is to provide a comprehensive overview of the financial performance of a stock, making it easier for investors to assess the intrinsic value and potential investment opportunities.
The script displays a concise summary of essential fundamental values and metrics in the form of a customizable table, directly integrated into the chart. This allows investors to evaluate the stock's performance for a variable number of fiscal years, as defined by the user. The input flexibility enables users to focus on the timeframes that are most relevant to their analysis.
ValueView works on timeframes greater than or equal to "DAY", ensuring that the data presented is reliable and relevant for long-term value investing strategies. With this feature, investors can focus on the bigger picture and avoid getting distracted by short-term fluctuations.
With ValueView, investors can choose to select or deselect specific metrics according to their investment strategy and preferences. This feature ensures that users are presented with the information they find most valuable, allowing them to make more informed decisions based on their unique perspective.
Key Features:
Quick overview of the financial performance of a stock for value investors
Customizable table displaying essential fundamental values and metrics
User-defined number of fiscal years for analysis
Select and deselect metrics to tailor the output to individual preferences
ValueView offers a convenient, time-saving solution for value investors looking to gain a deep understanding of a stock's financial performance. With its customizable features and easy-to-use interface, this script simplifies the process of identifying promising investments and making informed decisions.
Nota Keluaran
Enhanced table display customization:- Adjustable font size accessible through the settings menu
- Selectable metrics for display available in the settings menu
Nota Keluaran
This update completely refactors the script to Pine Script v6, introduces new visual features for fundamental analysis, and squashes several underlying data-processing bugs.New Features & Visual Improvements:
Dynamic YoY Trend Coloring: The table is no longer static! Metrics are now dynamically colored based on Year-over-Year performance. If a metric improves (e.g., Net Income increases or Debt decreases), it highlights Green. If it worsens, it highlights Red.
Smart Color Threshold Filter: Added a new "Trend Color Threshold (%)" input. By default, metrics must change by at least 0.5% to trigger the red/green coloring. Minor fluctuations below this threshold will remain a neutral yellow, cutting out the noise.
Auto-Formatting for Large Numbers: Gone are the days of reading raw numbers with an "(M)" in the title. Revenue, Free Cash Flow, and Shares Outstanding are now automatically formatted using K, M, and B suffixes for a much cleaner, professional look.
ROIC Added: Return on Invested Capital (ROIC) has been added to the table metrics, giving value investors an immediate view of capital efficiency.
Customizable UI & Positioning: Added a new "Display Settings" group allowing you to easily move the table to any corner of your chart and independently adjust the transparency of the background and the colored cells.
Bug Fixes & Logic Tweaks:
Fixed Duplicate Fiscal Years: Previously, asynchronous data updates from TradingView's data provider (e.g., Revenue reporting on Tuesday, EPS on Thursday) would cause duplicate Fiscal Year columns to print. A smart 6-month overwrite cooldown has been implemented to perfectly synchronize the data into a single, accurate column.
TTM Calculation Fixes: Fixed trailing twelve-month logic bugs that were pushing incorrect ratios for the TTM P/S and P/FCF rows.
Fixed Truncated History: Resolved an array indexing issue that hid the oldest fiscal year when the available data exactly matched the user's input period length.
Removed ROIC TTM Error: Fixed a symbol resolve runtime error by cleanly substituting the latest FY ROIC for the TTM column, since a rolling TTM feed for ROIC does not exist.
Nota Keluaran
Update: Strict Negative Value Highlighting (Orange Override)The Change: If any fundamental metric falls below zero (e.g., negative P/E or negative Net Income), that cell will now strictly turn Orange, completely overriding the green/red Year-over-Year trend coloring.
The Why: Previously, the new Year-over-Year trend coloring took precedence. This meant a company losing money could display a "Green" cell simply because its negative Net Income slightly improved from the previous year. Now, a negative number acts as a hard warning and is distinctly highlighted in orange so it never slips by unnoticed.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.