OPEN-SOURCE SCRIPT

EPS Line Indicator - cristianhkr

88
Overview
The EPS Line Indicator displays the Earnings Per Share (EPS) of a publicly traded company directly on a TradingView chart. It provides a historical trend of EPS over time, allowing investors to track a company's profitability per share.

Key Features
📊 Plots actual EPS data for the selected stock.
📅 Updates quarterly as new EPS reports are released.
🔄 Smooths missing values by holding the last reported EPS.
🔍 Helps track long-term profitability trends.

How It Works
The script retrieves quarterly EPS using request.financial(syminfo.tickerid, "EARNINGS_PER_SHARE", "Q", barmerge.gaps_off).
If EPS data is missing for a given period, the last available EPS value is retained to maintain continuity.
The EPS values are plotted as a continuous green line on the chart.
A baseline at EPS = 0 is included to easily identify profitable vs. loss-making periods.
How to Use This Indicator
If the EPS line is trending upwards 📈 → The company is growing earnings per share, a strong sign of profitability.
If the EPS line is declining 📉 → The company’s EPS is shrinking, which may indicate financial weakness.
If EPS is negative (below zero) ❌ → The company is reporting losses per share, which can be a warning sign.

Limitations
Only works with stocks that report EPS data (not applicable to cryptocurrencies or commodities).
Does not adjust for stock splits or other corporate actions.
Best used on daily, weekly, or monthly charts for clear earnings trends.

Conclusion
This indicator is a powerful tool for investors who want to visualize earnings per share trends directly on a price chart. By showing how EPS evolves over time, it helps assess a company's profitability trajectory, making it useful for both fundamental analysis and long-term investing.

🚀 Use this indicator to track EPS growth and make smarter investment decisions!

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.