PROTECTED SOURCE SCRIPT

Earnings X-Ray and Fundamentals Data:VSMarketTrend

155
This indicator calculates essential financial metrics for stocks using TradingView's built-in functions and custom algorithms. The values are derived from fundamental data sources available on TradingView.

Key Output Metrics(YOY Basic Quaterly DATA)
MC (Market Cap): Company’s total market value (Price × Total Shares).

TS (Total Shares Outstanding): All shares (float + restricted) in circulation.

Sales: Annual revenue (TTM or latest fiscal year).

NETIn: Net income

P/E (Price-to-Earnings): Valuation ratio (Market Cap / Net Income or Price / EPS).

EPS (Earnings Per Share): Net income per share (Net Income / TS).

OPM (Operating Margin %): Core profitability (Operating Income / Revenue × 100).

Quick Ratio: Short-term liquidity ((Current Assets – Inventory) / Current Liabilities).

BVPS (Book Value Per Share): Equity per share (Shareholders’ Equity / TS).

PS (Price-to-Sales): Revenue-based valuation (Market Cap / Annual Revenue).

FCF (Free Cash Flow Per Share): Post-CapEx cash ((Operating Cash Flow – CapEx) / TS).

Data Sources & Methods
Uses TradingView’s request.financial() for income/balance sheet data (Revenue, EBITDA, etc.).

Fetches real-time metrics via request.security() (e.g., Shares Outstanding).

Normalizes data across timeframes (quarterly/annual).

snapshot

Disclaimer
Not financial advice. Verify with official filings before trading.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.