CRAZY RAY RAY - Dashboard 1-5-15-1D + SMC + Clock + Candles PRO OANDA:XAUUSD This script is essentially your institutional "nuclear power plant" for scalping and swing trading: it combines the 1-5-15-1D dashboard, SMC, PRO candles, money flow times, institutional filters, Bull/Bear 12C, Liquidity HUD, Fibo Move, and Target Trend with SL + 3 TPs into a single indicator. 1. Dashboard 1–5–15–1D (Central HUD)
Calculates across 4 timeframes: 1m, 5m, 15m, and 1D:
Trend with EMAs 15/30/200.
RSI (strength >50 buy, <50 sell).
MACD (crossover in favor or against).
For each timeframe it shows:
TREND → BULLISH / BEARISH / NEUTRAL.
ACTION → BUY / SELL / WAIT.
If all 4 timeframes align:
MODE = BULLISH BUY
MODE = BEARISH SELL
Filters and displays on the HUD if buys or sells are blocked by SMC context (BLOCKED BUY / BLOCKED SELL).
Also draws 2 simple moving averages on the chart:
SMA 20 white (you can use it as a micro-trend).
SMA 200 red (macro trend and institutional reference).
2. Real-Time Clock + Trading Hours
Calculates the real time for:
New York / Miami
London
Tokyo
using current time and real time zone.
Also calculates GMT time to know which session is dominant.
Marks your trading hours:
LONDON 3:00–5:30 (London time) → goodLondon
NY OPEN 8:30–10:00 (NY time) → goodNYOpen
ASIA 20:00–23:00 (Tokyo) → goodAsiaScalp
Displays a message on the HUD:
LONDON 3:00–5:30 (1–2 TRADES)
NY OPEN 8:30–10:00 (1 TRADE)
ASIA 20–23 (SCALP)
NO TRADE ROLL / DEAD / LATE
ONLY A+ SETUPS (when not in strong trading hours).
3. Institutional Power (volume + ATR + session)
Filter that evaluates whether the moment is institutional or retail:
Checks:
If you are in a strong trading session (London / NY). If the volume is above the average × multiplier.
If the ATR is above the average × multiplier.
If it passes the filters → INST ON, otherwise → RETAIL ZONE.
Used internally to block buys/sells and for the HUD.
4. Micro-signal “NO RETRACEMENT” on 1m (BUY SR / SELL SR)
On the 1-minute timeframe, it detects a very aggressive entry:
Clean trend (15/30/200 EMAs aligned).
Price crosses the 200 EMA.
MACD turns in favor.
Marks on the candle:
BUY SR (buys without retracement below the EMA200).
SELL SR (sales without retracement above the EMA200).
This state is also reflected in the HUD as the “SR” row.
5. SMC Block: HH/HL/LH/LL + BMS + ChoCH + Fibo + Zones
This is the SMC brain of the script:
Detects swings with pivots:
Paints HH, HL, LH, LL (if you activate showHHLL).
Marks BOS (break of structure).
Marks BMS and ChoCH (with strong or weak filter using ATR, volume, MACD, gaps).
Draws:
Internal Fibo of the last range (38–50–61).
Fibo entry zone 38–78% as a green discount/premium box.
Institutional mitigation zones (simple OB type green/red boxes).
Current range with dotted yellow lines.
Calculates logic for:
antiStupidBuy: blocks purchases when the context is very bearish (LL–LL–LH, bearish ChoCH, premium, EQH, etc.).
antiStupidSell: symmetrical for sales.
From this comes:
allowBuyInst
allowSellInst
buyBlockerOn / sellBlockerOn
buyTrapDetected (BUY SR signal but context blocks it → BUY TRAP).
All this feeds the HUD and institutional alerts.
6. PRO Candles (candlestick + smart color)
Candlestick pattern system:
Detects:
Hammer, Inverted Hammer. Doji.
Strong bullish/bearish candle.
Bullish/bearish engulfing.
Uses a trend EMA to determine if the pattern is with or against the trend.
Colors the candles according to the pattern (if you enable useColorCandles).
Defines texts:
patternText (pattern name).
biasText (reversal, momentum, indecision).
Updates the HUD with the current pattern (“CANDLE: Engulf Bull”, etc.).
7. Institutional PRO Combo + Reversals
Connects everything:
fullBuySetup:
allowBuyInst TRUE (SMC + Fibo + mitigation OK).
Institutional candles in favor (engulfing, hammer, etc.).
MultiTF aligned (1m, 5m in favor, 15/1D not strongly against).
Strong session (London or NY).
No blockages.
fullSellSetup: the same for sales.
Marks on the chart:
BUY PRO, SELL PRO.
BUY REV LL → reversal from a LL, at Fibo discount, with an institutional candle and above EMA200.
SELL REV HH → reversal from HH, at Fibo premium, with an institutional candle and below EMA200.
And generates alerts for all of this.
8. Dynamic Main HUD
On barstate.islast, updates the HUD:
Changes “BUY / SELL” to:
BUY BLOCK / SELL BLOCK when the context blocks that direction.
Writes:
Current candle pattern.
Time message.
Global status:
BUY TRAP ❌, BUY REV LL ✅, SELL REV HH ✅, BUY PRO ✅, SELL PRO ✅,
BUY BLOCK, SELL BLOCK, BUY/SELL OK.
9. Bull/Bear 12C HUD (Small right HUD)
12-confirmation bull/bear engine:
Calculates:
Sweep, 5th leg, mitigation, HL/LH, strong BOS.
Volume pattern (high-low-high).
ATR rising.
MACD crossover.
Liquidity.
Fear & Greed (SMA50).
Gap/imbalance. Bull/Bear 180 weak.
Count how many are ON:
bullScore /12
bearScore /12
Define a regime:
INSTITUTIONAL → many confirmations + rvol + ATR.
NORMAL
RETAIL
Show on right HUD:
List 1 to 12 with green/red dots BULL / BEAR.
Summary: “Regime: INSTITUTIONAL / NORMAL / RETAIL”.
10. Liquidity HUD XAU SCALP
Calculates RVOL, normalized ATR, spread vs ATR, current range vs average range.
Generates score and classifies:
LOW / MED / HIGH / INS.
Only moves up one level if you are in London/NY session (depending on sessions)
Resultados
D.Y Volume Swing Strategy📌 Summary of the Daniel.Yer Volume Strategy
This strategy is based on identifying the "opening volume peak" at the start of each trading day, using a user-defined sampling window.
After the sampling period ends, the strategy looks for breakouts above the daily high or below the daily low, provided they occur with a strong high-volume candle that meets the user-set threshold.
When a breakout appears in one direction, the strategy waits for an opposite-direction confirmation candle (Reversal Confirmation) and then enters a smart counter-breakout trade.
Each trade includes dynamic Stop-Loss and Take-Profit levels calculated from recent price structure, with the option to multiply stop distance according to user preference.
The strategy also gives full control over entering long only, short only, or both, as well as choosing whether trades occur exclusively from the high/low or without restrictions.
The strategy can be tested on any timeframe and evaluated across four trading directions:
✔ Buy from High
✔ Sell from High
✔ Buy from Low
✔ Sell from Low
MarketSurge EPS Line [tradeviZion]MarketSurge EPS Line
EPS trend line overlay for TradingView charts, inspired by the IBD MarketSurge (formerly MarketSmith) EPS line style.
Comparison: Left side shows IBD MarketSurge EPS line as reference. Right side shows this TradingView script producing similar output with interactive tooltips. The left side image is for reference only to demonstrate similarity - it is not part of the TradingView script.
Features:
Displays EPS trend line on price charts
Uses 4-quarter earnings moving average
Shows earnings momentum over time
Works with actual, estimated, or standardized earnings data
Customizable line color and width
Interactive tooltips with detailed earnings information
Custom symbol analysis support
How to Use:
Add script to chart
EPS line appears automatically
Adjust color and width in settings if needed
Hover over line for earnings details
Settings Explained:
Display Settings:
Show EPS Line: Toggle to show or hide the EPS trend line
EPS Line Color: Choose the color for the EPS trend line and labels
EPS Line Width: Adjust the thickness of the EPS trend line (1-5 pixels)
Symbol Settings:
By default, the indicator analyzes the EPS data for the symbol currently displayed on your chart. The Custom Symbol feature allows you to:
Analyze EPS data for a different symbol without changing your chart
Compare earnings trends of related stocks or competitors
View EPS data for one symbol while analyzing price action of another
To use Custom Symbol:
Enable "Use Custom Symbol" checkbox
Click on "Custom Symbol" field to open TradingView's symbol picker
Search and select the symbol you want to analyze
The indicator will fetch and display EPS data for the selected symbol
Note: The chart will still show price action for your current symbol, but the EPS line will reflect the custom symbol's earnings data.
Data Settings:
EPS Field: Choose which earnings data source to use:
Actual Earnings: Reported earnings from company financial statements (default). Use this to analyze historical performance based on what companies actually reported.
Estimated Earnings: Analyst consensus forecasts for future quarters. Use this to see what analysts expect and compare expectations with actual results.
Standardized Earnings: Earnings adjusted for comparability across companies. Use this when comparing multiple stocks as it normalizes accounting differences.
Display Scale:
For the indicator to display correctly on the existing chart, it uses its own axis (right scale) by default. However, you can change this, but the view will not look the same. The right scale is recommended for optimal visibility as it allows the EPS line to be clearly visible alongside price action without compression.
Example: EPS line on separate right scale (recommended) - hover over labels to view detailed earnings tooltips
Example: EPS line pinned to Scale A (not recommended - appears as straight line due to small EPS range compared to price)
Example: EPS line displayed in separate pane below price chart
Methodology Credits:
This indicator implements the EPS line visualization methodology developed by Investor's Business Daily (IBD) for their MarketSurge platform (formerly known as MarketSmith). The EPS line concept helps visualize earnings momentum alongside price action, providing a fundamental overlay for technical analysis.
Technical Details:
Designed for daily, weekly, and monthly timeframes
Minimum 4 quarters of earnings data required
Uses TradingView's built-in earnings data
Automatically handles missing or invalid data
This indicator helps you visualize earnings trends alongside price action, providing a fundamental overlay for your technical analysis.
Stock Fundamentals (Zeiierman)█ Overview
Stock Fundamentals (Zeiierman) is designed for investors who want a clear, visual, and efficient way to understand a company’s overall fundamental profile directly on the chart. Instead of digging through dozens of ratios or scanning multiple websites, the tool combines fundamental data, price behavior, and analyst expectations into a single intuitive visual system that can be understood at a glance.
A multi-axis “fundamental spider chart” presents the company across six core dimensions: value, quality, financial health, future prospects, dividend strength, performance, and volatility behavior. Each axis represents a structural aspect of company quality, allowing you to see strengths, weaknesses, and imbalances in one immediate view.
Alongside the spider chart, a compact PE and Return panel shows where current valuation and analyst expectations sit within their historical ranges, giving context for whether the stock is cheap, expensive, stretched, or positioned for growth.
The goal is simple: make fundamental analysis accessible, fast, and insightful for every investor, from beginner to advanced. Stock Fundamentals (Zeiierman) transforms dense data into a structured visual profile suited for stocks on the daily timeframe, allowing you to interpret company quality as easily as you read price action.
Important: This script is designed for STOCK symbols on the DAILY timeframe. On anything else, it will show an explicit warning instead of a spider chart.
⚪ Why This One Is Unique
Most fundamental overlays rely on static ratios or simple tables, but this script takes a far more comprehensive approach. It builds a multi-dimensional scoring system across Value, Health, Future, Dividend, Performance, and Volatility, then maps these dimensions into a geometric spider chart with clearly labeled axes so you can interpret company quality visually rather than through scattered numbers.
An Overall Score from 0 to 10 is computed by aggregating these dimensions and is displayed using a smooth gradient from your selected color palette. Performance scoring is based on yearly return statistics such as returns, volatility, Sharpe ratio, max drawdown, and alpha versus a benchmark, giving the score a foundation in real multi-year behavior rather than short-term noise.
Dividend quality is evaluated through yield, growth, payout behavior, free-cash-flow coverage, leverage, and the company’s EPS trend, creating a deeper view of dividend strength than raw yield alone. Future expectations are incorporated through a forward-looking model that compares projected earnings and revenue paths to the current price using a nonlinear scoring method.
A dedicated PE Sentiment and Return Estimate panel places the stock’s PE, current price, and analyst targets along a graded strip, helping you see valuation and expected upside or downside in a meaningful context.
█ Main Features
⚪ 1. Company Overview Score
Stock Fundamentals (Zeiierman) evaluates a company across six core dimensions: Value, Health, Future, Dividend, Performance, and Volatility. Each dimension is scored individually and combined into a single Overall Score (0–10) displayed beside the spider chart. The score cell uses a smooth gradient to reflect weak-to-strong company quality at a glance.
⚪ 2. Fundamental spider chart Visualization
The individual scores are mapped into a six-axis polygon, known as the fundamental spider chart. Each arm of the spider chart represents one of the core dimensions:
Dividend – quality, growth, coverage, and stability
Performance – multi-year risk-adjusted returns
Volatility – long-term price stability
Value – earnings yield, ROIC, and valuation appeal
Health – solvency, balance-sheet strength, and overall safety
Future – forward growth potential relative to current price
The axes extend from weak at the center to strong at the outer boundary, creating a color-filled shape that makes strengths, weaknesses, and imbalances instantly visible. The spider chart and the overall score work together to provide a fast, intuitive snapshot of company fundamentals.
⚪ 3. PE Sentiment Bar
A horizontal PE Sentiment bar shows where the company’s current P/E sits within its historical low-to-high range. The bar is color-graded to indicate whether the valuation leans cheap or expensive, with a marker precisely showing today’s position.
⚪ 4. Return Estimate Bar
The Return Estimate bar compares the current price against analyst expectations:
lowest target
highest target
average target
current price marker
A percentage estimate displays potential upside or downside to the average target. The bar is visually graded using the same palette for fast interpretation.
█ How to Use
⚪ Quick Stock Screening
Investors can rapidly assess company quality before deep research, saving significant time.
⚪ Comparing Opportunities
Easily compare two or more companies using their overall scores and key sentiment visuals.
⚪ Portfolio Reassessment
Use the Stock Fundamentals to monitor existing holdings and identify potential risks or strong performers.
⚪ Sentiment-Based Entries
Combine PE Sentiment and Return Estimate data to evaluate whether a stock is currently undervalued or overextended.
█ How It Works
⚪ Fundamental Dimensions and Scoring
Stock Fundamentals (Zeiierman) evaluates a company across six primary dimensions: Value, Health, Future, Dividend, Performance, and Volatility. Each dimension is assessed through its underlying behaviors rather than a single ratio, producing a more balanced and realistic view of company strength.
Value reflects how attractive the company is relative to its earnings power and capital efficiency.
Health measures balance-sheet strength, operational resilience, and the company’s ability to withstand financial stress.
Future estimates the growth potential implied by projected business expansion versus current pricing.
Dividend evaluates reliability, sustainability, and the stability of historical payouts.
Performance summarizes long-term return quality and risk-adjusted behavior.
Volatility indicates the consistency of price behavior, highlighting stability versus choppiness.
Each category is converted into a normalized score and combined into an overall weighted score (0–10), providing a fast yet reliable snapshot of company quality.
⚪ Value Engine
The Value dimension reflects both the company’s earnings attractiveness and how effectively it uses capital. Instead of relying on a single valuation ratio, the engine blends multiple valuation signals with an estimate of capital efficiency, producing a stable value intensity score. This approach rewards companies that combine strong earnings power with efficient capital use, while preventing extreme outliers from dominating.
⚪ Health Engine
The Health dimension evaluates how structurally sound the business is. It draws from indicators that capture financial resilience, balance-sheet strength, stability, and operational robustness. For financial institutions or bank-like profiles, the system shifts toward metrics that emphasize asset efficiency and solvency buffers. The result is a single robustness score that adapts to the company’s business model.
⚪ Performance Engine
Performance is based on long-term behavior rather than short-term swings. The system evaluates multi-year return characteristics, consistency, risk-adjusted efficiency, and resilience during adverse market periods. Each of these behaviors is transformed into a smooth score, then combined into a single Performance dimension that reflects “quality of returns,” not just raw gains.
⚪ Dividend Engine
The Dividend dimension assesses both reward and reliability. It considers payout behavior over several years, historical stability, growth tendencies, coverage strength, and overall sustainability. It also evaluates whether the company’s financial structure supports long-term dividends rather than simply rewarding high yield. All of these factors combine into a dividend score that balances attractiveness with durability.
⚪ Future Growth Engine
The Future dimension estimates how well the company’s projected business expansion aligns with current price levels. It builds a simplified projection of growth potential and assesses whether that trajectory reasonably supports the stock’s valuation. The closer the company appears to “growing into” its price, the higher the future score. This dimension effectively acts as a growth runway estimator.
⚪ Volatility Node
The Volatility dimension reflects how stable or turbulent the stock has been over a broad timeframe. Its purpose is descriptive rather than judgmental: a high volatility score indicates choppy behavior, while a lower score suggests consistency. Although this measurement is displayed as part of the spider chart, it is intentionally excluded from the Overall Score to avoid penalizing growth-oriented or cyclical companies unfairly.
⚪ PE Sentiment
The company’s current P/E ratio is placed within its historical low-to-high range. The panel uses a smooth gradient from “cheap” to “expensive,” with a clear marker showing exactly where today’s valuation sits relative to past conditions.
⚪ Return Estimate
Analyst expectations are displayed on a similar range-based strip. Markers show the lowest, highest, and average analyst targets, alongside a marker for the current price. A projected percentage return is calculated relative to consensus expectations, offering a simple visual cue for whether analysts see meaningful upside or downside.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
EPS & Sales - MarketSmith/MarketSurge StyleThe EPS & Sales indicator is designed for traders and investors who rely on earnings power and revenue growth as key components of their decision-making process. Inspired by the style and structure of MarketSmith and MarketSurge, this script brings a complete fundamental snapshot directly onto your chart, allowing you to analyze quarterly performance without leaving the TradingView platform. Instead of switching between data sources or relying on disconnected tools, this indicator consolidates multiple layers of information—EPS, sales, estimates, growth rates, surprises, gross margin, ROE, and more—into one integrated visual framework.
At the core of the script is its ability to detect each earnings report by observing changes in TradingView’s earnings data. Once an earnings event is identified, the indicator captures the new EPS and sales values, fetches historical data, and organizes it into a structured quarterly timeline. In doing so, it reconstructs up to eight quarters of earnings and revenue progression, letting you follow a company’s financial trajectory at a glance. The script distinguishes between actual EPS and standardized EPS, intelligently compensating for missing data by back-filling where appropriate. This blended approach results in a data representation closer to the conventions used by IBD/MarketSmith.
One of the signature components of the indicator is its Weekly Earnings Table. This panel displays EPS values, EPS growth both year-over-year and quarter-over-quarter, EPS surprises relative to analysts’ estimates, and revenue figures scaled dynamically into millions or billions. It also includes sales growth rates, sales surprises, and optional rows for gross margin and return on equity. The table is color-formatted using alternating bands for improved readability, and users may choose between a classic bordered table and a more modern “HeadBand” style. Thematic presets allow the display to mimic either the MarketSmith legacy look or the newer MarketSurge aesthetic.
For daily charts, the indicator provides a streamlined HeadBand Table focused on the most recent four quarters. This condensed version shows EPS versus the same quarter a year ago, EPS percentage change, sales and sales growth, and optional ROE or gross margin. It also highlights the next scheduled earnings date, making this tool particularly useful for traders managing risk around upcoming reports.
In addition to the tables, the script can annotate the price chart itself. At each earnings bar, it may draw an arrow or numeric label indicating the EPS percentage change, with the option to include sales percentage change as well. These annotations adopt intuitive color coding, using green for positive numbers and red for negative ones, and they follow the same ±999% cap used by MarketSmith to manage extreme values. Users looking for a cleaner chart can disable the arrow graphics entirely and show only the percentage digits.
The script also includes a series of safeguards to handle the messy realities of earnings data. It mitigates issues caused by irregular reporting schedules, addresses TradingView data gaps, corrects duplicated values, and handles negative EPS figures with an optional “#” prefix indicating calculations based on negative-to-positive transitions. Users may choose to remove this prefix or force the indicator to always display percentage changes even when the company is unprofitable.
Overall, the EPS & Sales indicator is not a trading system but a research and visualization tool. It is built for traders who follow growth-oriented strategies—especially those influenced by CANSLIM or Mark Minervini’s SEPA approach—and who want to see fundamental acceleration alongside price movement. By embedding quarterly financial performance directly into the chart, the script enables faster, more informed analysis and brings the essential components of fundamental evaluation into the heart of technical workflow.
Top 20 Stocks Earnings Table: Quarters + Details (Easy View)Definition: Earnings Per Share (EPS) is a key financial metric that measures a company's profitability on a per-share basis. It shows how much profit is generated for each outstanding share of common stock.
You Can Edit Stocks To View EPS For Latest Quarter And Info Of Upcoming Quarter
Its Auto Updated Just Put It On Any Stock Or Index To View It
Even You Set Alerts For EPS Dates Announcements
Formula:
EPS = (Net Income - Preferred Dividends) / Average Outstanding Shares
Basic EPS: Uses weighted average shares outstanding.
Diluted EPS: Accounts for potential dilution from options, convertibles, etc. (often more conservative).
Importance:
Investor Insight: Helps compare profitability across companies (e.g., higher EPS signals better performance).
Valuation Tool: Used in ratios like P/E (Price/Earnings) to assess if a stock is over/undervalued.
Earnings Reports: Released quarterly/annually; beats/misses vs. estimates can drive stock prices. Thanks Saandeep Patill
PE Fair ValueIn short, it’s an automated fair value estimator based on the price-to-earnings model, with full manual control if TradingView’s fundamental data is missing.
Summary:
1. Lets the user choose the EPS source – either automatically from TradingView fundamentals (EPS TTM) or a manual value.
2. Attempts to fetch the stock’s P/E ratio (TTM) automatically; if unavailable, it uses a manual fallback P/E.
3. Calculates:
Actual P/E = current price ÷ EPS
Fair Value = EPS × chosen (auto/manual) P/E
Percentage difference between market price and fair value
4. Plots the fair-value line on the chart for visual comparison.
5. Displays a table in the top-right corner showing:
EPS used
Target P/E
Actual P/E
Fair value
Current price
Difference vs fair value (colored green or red)
6. Creates alerts when the stock is trading above or below the calculated fair value.
7. Also plots the current closing price for reference.
Earnings CountdownAdd to a chart to show a text box with how long to next earnings.
Being updated to add functionality from original open source Pine script
Combined Trading IndicatorsThis indicator is a combination of EMAs (4 Editable EMAs), Quarterly Earnings, OOPs Reversal day, Burst Power Indicator, RS Rating, ADR% Settings and a few more to come.
Basically it is designed for swing traders who are using TradingView's Basic or Essential Program.
Please ignore the %Chg data in QE Table.
Quarterly Earnings - v1This script shows company fundamentals in a TradingView table: Earnings Per Share (EPS), Price-to-Earnings Ratio (P/E, TTM), Sales (in Crores), Operating Margin (OPM %), Return on Assets (ROA %), and Return on Equity (ROE %).
Quarterly Earnings - v1This script shows company fundamentals in a TradingView table: Earnings Per Share (EPS), Price-to-Earnings Ratio (P/E, TTM), Sales (in Crores), Operating Margin (OPM %), Return on Assets (ROA %), and Return on Equity (ROE %).
12Q PerformanceShows a table of 12 quarters with Revenue, Net Income, and Net Profit Margin. Highlights QoQ changes in green/red and places the table at bottom-right for quick performance glance.
DCA vs One-ShotCompare a DCA strategy by choosing the payment frequency (daily, weekly, or monthly), and by choosing whether or not to pay on weekends for cryptocurrency. You can add fees and the reference price (opening, closing, etc.).
Quarterly EarningsEarnings Per Share (EPS), Price-to-Earnings Ratio (P/E, TTM), Sales (in Crores), Operating Margin (OPM %), Return on Assets (ROA %), and Return on Equity (ROE %). Each metric includes its absolute value and quarter-over-quarter or year-over-year percentage change.
Quarterly EarningsEarnings Per Share (EPS), Price-to-Earnings Ratio (P/E, TTM), Sales (in Crores), Operating Margin (OPM %), Return on Assets (ROA %), and Return on Equity (ROE %). Each metric includes its absolute value and quarter-over-quarter or year-over-year percentage change.
Quarterly EarningsThis Pine script shows quarterly EPS, Sales, and P/E (TTM-based) in a styled table.
Financial Table by QuarterFinancial Table by Quarter
Summary
This indicator was created to help fundamental traders analyze historical financial data directly on the chart, eliminating the need to switch between screens. The table displays key metrics for each calendar year, broken down by quarter (Q1-Q4) with an annual total, providing a clear overview of a company's growth at a glance. It is also highly customizable to fit your trading style and chart theme.
Key Features
Financial Data Table: Organizes data by calendar year, showing details for each quarter (Q1, Q2, Q3, Q4) and a "Total" column for the annual summary.
Selectable Metrics (3 Options): Easily switch between three crucial financial metrics via a dropdown menu:
Total Revenue
Net Income
EPS (Earnings Per Share)
Highly Customizable:
Table Position: Choose from 9 standard positions on your chart.
Lookback Years: Adjust the number of historical years to display (from 1 to 20).
Number Format: Select how large numbers are displayed (Automatic K/M/B/T, Millions only, Billions only, or the full number).
Decimal Places: Control the precision of the numbers from 0 to 4 decimal places.
Negative Number Style: Display negative values in three standard formats: with a minus sign, with a red minus sign, or in red parentheses.
Full Color Customization: You can change the colors of the title, headers, individual data columns, text, and borders to perfectly match your chart's theme.
How to Use & Interpretation
Analyze Growth Trends: Use the table to look for consistent growth in Total Revenue and Net Income, both quarter-over-quarter and year-over-year. A healthy company should show steady, reliable growth.
Spot Anomalies: The table makes it easy to see if a specific quarter had unusually high or low performance, which may warrant further investigation into the company's reports for that period.
Compare Metrics: Switch between "Total Revenue" and "Net Income" to see how well revenue growth translates into actual profit. Growing revenue with declining income could be a red flag regarding cost control or shrinking margins.
Preliminary Valuation: Switch to "EPS" to track profitability on a per-share basis. This is a key factor for assessing the P/E ratio trend and understanding if the company is creating more value for its shareholders over time.
Limitations
Stocks Only: This indicator uses request.financial, which is only available for stocks. It will not work on Forex, Crypto, or Futures.
Data Depth: TradingView typically provides about 8-10 years of historical financial data. Even if you set the lookback to 20, the indicator will only display the maximum amount of data available for that specific stock.
Earnings line & P/E Tracker# Earnings line & P/E Tracker
**A comprehensive fundamental analysis indicator that overlays earnings data and P/E ratios directly on your price charts.**
## 📊 Key Features
### Automatic Data Retrieval
- **Real-time financial data** pulled directly from TradingView's financial database
- **Multiple data sources**: Earnings Per Share (Basic/Diluted), Total Revenue, Net Income
- **Flexible periods**: TTM (Trailing Twelve Months), FQ (Quarterly), FY (Annual)
- **Live P/E ratio calculation** based on current price and TTM earnings
### Visual Display Options
- **Earnings progression line** overlaid on price chart for easy comparison
- **P/E ratio plot** with distinctive circle markers
- **Comprehensive data table** showing all key metrics in real-time
- **Dark mode optimized** with high-contrast colors for excellent readability
### Optional Event Tracking
- **Custom earnings dates** input for upcoming releases
- **Visual markers** on earnings announcement dates
- **Background highlighting** during earnings weeks
- **Smart alerts** for significant P/E changes and data updates
## 🎯 Perfect For
- **Fundamental analysts** comparing earnings growth vs stock price movement
- **Value investors** tracking P/E ratios and earnings trends
- **Earnings season trading** with visual release date markers
- **Long-term investors** monitoring fundamental health alongside technical analysis
## ⚙️ Customization Options
### Data Selection
- Choose between EPS Basic, EPS Diluted, Total Revenue, or Net Income
- Select TTM, quarterly, or annual reporting periods
- Toggle individual display elements on/off
### Visual Styling
- Customizable colors for earnings line, P/E ratio, and event markers
- Adjustable line width and styling options
- Moveable data table with size and position controls
### Event Management
- Input custom earnings release dates
- Enable/disable earnings event markers
- Background highlighting for earnings periods
- Configurable alert thresholds
## 📈 How It Works
1. **Automatic Detection**: The indicator automatically detects available fundamental data for your selected symbol
2. **Real-time Updates**: Financial metrics update as new data becomes available
3. **Visual Integration**: Earnings data is scaled and overlaid directly on your price chart
4. **Status Monitoring**: Clear indicators show data availability and freshness
## 🔧 Setup Instructions
1. Add the indicator to your chart
2. Select your preferred data source (EPS recommended for P/E tracking)
3. Choose time period (TTM recommended for most analyses)
4. Customize colors and display options to your preference
5. Optionally add upcoming earnings dates for event tracking
## 💡 Pro Tips
- **Use TTM EPS** for the most accurate P/E ratio calculations
- **Compare earnings line slope** with price movement to spot divergences
- **Enable earnings events** to prepare for volatility around announcements
- **Works best on daily/weekly timeframes** for fundamental analysis
## ⚠️ Data Availability
- Requires stocks with available fundamental data in TradingView's database
- Most major US stocks, ETFs, and international equities supported
- Limited data may be available for small-cap or recently listed companies
- Clear "No Data" indicator when fundamental data is unavailable
## 🎨 Display Features
- **High contrast colors** optimized for both light and dark chart themes
- **Clean, professional table** displaying all key metrics
- **Intuitive visual markers** for earnings events and data points
- **Responsive design** that adapts to different chart sizes
---
**Perfect for traders and investors who want to combine fundamental analysis with technical charting in a single, comprehensive view.**
## ⚠️ Important Disclaimer
**This indicator is provided for educational and informational purposes only. The author (raptor2030) is not responsible for:**
- **Data accuracy or completeness** - Financial data is sourced from TradingView's database and may contain errors, delays, or omissions
- **Trading decisions** - This tool should not be used as the sole basis for investment decisions
- **Financial losses** - Past performance does not guarantee future results
- **Data reliability** - Third-party data sources may experience outages or provide incorrect information
- **Market timing** - Earnings dates and projections may be inaccurate or outdated
**Always verify critical information from official company sources and consult with qualified financial professionals before making investment decisions.**
**Use this indicator at your own risk. The author disclaims all liability for any direct, indirect, or consequential damages arising from the use of this script.**
PE Rating by The Noiseless TraderPE Rating by The Noiseless Trader
This script analyzes a symbol’s Price-to-Earnings (P/E) ratio, using Diluted EPS (TTM) fundamentals directly from TradingView.
The script calculates the Price-to-Earnings ratio (P/E) using Diluted EPS (TTM) fundamentals. It then identifies:
PE High → the highest valuation point over a 3-year historical range.
PE Low → the lowest valuation point over a 3-year historical range.
PE Median → the midpoint between the two extremes, offering a fair-value benchmark.
PE (Int) → an additional intermediate low to track more recent undervaluation points. This is calculated based on lowest valuation point over a 1-year historical range
These levels are plotted directly on the chart as horizontal references, with markers showing the exact bars/dates when the extremes occurred. Candles corresponding to those days are also highlighted for context.
Bars corresponding to these extremes are highlighted (red = PE High, green = PE Low).
How it helps
Provides a historical valuation framework that complements technical analysis. We look for long opportunity or base formation near the PE Low and be cautious when stocks tends to trade near High PE.
We do not short the stock at High PE infact be cautious with long trades.
Helps identify whether current price action is happening near overvalued or undervalued zones.
Adds a long-term perspective to support swing trading and investing decisions. If a stock is coming from Low PE to Median PE and along with that if we get entry based on Classical strategies like Darvas Box, or HH-HL based on Dow Theory.
Offers a simple visual map of how far the market has moved from “cheap” to “expensive.”
This tool is best suited for long-term investors and swing traders who want to merge fundamentals with technical setups.
This indicator is designed as an educational tool to illustrate how valuation metrics (like earnings multiples) can be viewed alongside price action, helping traders connect fundamental context with technical execution in real market conditions.
Forward P/E CalculatorI could not find a forward P/E indicator that gave me proper results. So here is mine.
EPS QoQ % ChangeThis indicator calculates and displays the quarter-over-quarter (QoQ) percentage change in earnings per share (EPS) directly on your chart, aligned with each earnings event.
It is designed to quickly highlight EPS growth or decline without the need to open an earnings report, providing traders and investors with instant, visual performance context.
Features :
- Automatic Earnings Detection: Identifies earnings bars and calculates QoQ % change.
- Color-Coded Text: Positive changes are shown in your chosen “up” color, declines in your “down” color, and flat results in a neutral color.
- Customizable Appearance: Choose text size and colors to match your chart style.
- Tooltip Support: Optional detailed tooltip showing reported EPS, previous EPS, and calculated QoQ change.
- Compact Layout: Displays in its own pane to avoid cluttering price action.
Use Cases :
- Quickly assess EPS growth trends over time.
- Spot significant earnings beats or misses without reading earnings transcripts.
- Use alongside other technical or fundamental tools for better decision-making.
Earnings X-Ray and Fundamentals Data:VSMarketTrendThis 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).
Disclaimer
Not financial advice. Verify with official filings before trading.
Power Earnings Gap Screener Pro [LevelUp]Customizable Pine Screener to scan for stocks with a Power Earnings Gap as well as accelerating earnings and sales. Historical analysis shows that strong earnings often trigger institutional buying, pushing prices higher and increasing the likelihood of sustained price gains.
🔹 Power Earnings Gap (PEG)
A power earnings gap refers to a significant price gap up after an earnings report, reflecting a rapid shift in investor sentiment and perceived value. It’s called "power" because the move is often sharp, sustained, and accompanied by high trading volume, signaling a potential trend continuation or reversal.
A gap is the difference between the closing price of a stock on the day before an earnings report and the opening price the next trading day. A power earnings gap typically exceeds a certain threshold (e.g., 8-10% or more) and is driven by earnings surprises, guidance changes, or other significant news.
Strong earnings beats, misses, or forward-looking guidance can trigger these gaps. For example, a company reporting higher-than-expected profits or raising guidance might gap up, while a miss or weak outlook could cause a gap down.
The gap is often accompanied by above-average trading volume, confirming the move's strength. Power gaps often lead to sustained price movement in the direction of the gap (continuation) or signal a reversal if the gap fills quickly.
How Power Earnings Gap Be Helpful
▪ Power earnings gaps often indicate strong momentum. Traders can capitalize on this by entering trades in the direction of the gap (e.g., buying on a gap-up if the trend continues).
Example: If a stock gaps up 10% after a stellar earnings report and shows high volume, traders might buy, expecting further upside as momentum builds.
▪ Breakout Opportunities: A gap through key technical levels (e.g., resistance or support) can signal a breakout. Traders use these gaps to identify potential long-term trends.
Example: A stock breaking above a resistance level on a power earnings gap may continue to rally, offering a setup for swing or position traders.
▪ Volatility for Short-Term Trades: Earnings gaps create heightened volatility, ideal for day traders or scalpers. The large price swings allow for quick profits if timed correctly.
Example: A trader might use options (e.g., calls for a gap-up, puts for a gap-down) to leverage the volatility around earnings.
▪ Confirmation of Fundamental Strength/Weakness: A power earning gap often reflects a fundamental shift, e.g., strong earnings growth or a major business development. Traders can use this to align technical setups with fundamental catalysts.
Example: A gap-up after a company raises its full-year guidance might signal a long-term buying opportunity.
▪ Risk Management and Stop Losses: Gaps provide clear levels for setting stop-loss orders. For instance, traders might place stops at or below the gap up bar low to protect against a potential reversal.
Example: If a stock gaps up from $100 to $110 and intraday hits a low of $105, a trader might set a stop at $105 or lower to limit downside risk.
▪ Gap Fill Strategies:Some traders bet on gaps filling, i.e., the stock returning to its pre-gap price. If a power earnings gap seems overextended (e.g., due to market overreaction), contrarian traders might short a gap-up or buy a gap-down, anticipating a pullback.
Example: A stock gaps up 15% but lacks volume or follow-through; a trader might short it, expecting the price to retreat.
🔹 Earnings and Sales Acceleration
Earnings and sales acceleration refers to the rate of growth in a company's earnings over consecutive quarters. It highlights companies that are not only growing but doing so at an accelerating pace, signaling improving financial health and operational momentum. This metric is derived from earnings reports, which detail a company’s financial performance.
Key Concepts
▪ Earnings Acceleration: When a company’s earnings per share (EPS) growth rate increases over time (e.g., EPS growth of 10% in Q1, 15% in Q2, 20% in Q3). It indicates improving profitability, often due to cost efficiencies, margin expansion and strong demand.
▪ Sales Acceleration: When revenue growth rates increase over time (e.g., revenue growth of 5% in Q1, 8% in Q2, 12% in Q3). This reflects rising demand for products/services and operational efficiency.
▪ Relation to Earnings Reports: Acceleration is calculated by comparing sequential quarter-over-year growth rates in earnings and sales, often highlighted in earnings reports or analyst commentary. It’s a sign of fundamental strength when both metrics accelerate together.
How It’s Helpful to Traders
▪ Identify High-Potential Stocks: Stocks with accelerating earnings and sales often attract investor attention, as they signal a company is outperforming expectations and gaining market share. This can lead to sustained price appreciation.
Example: A tech company reporting 20% EPS growth and 15% sales growth quarter-over-quarter may see bullish price action as investors bet on continued momentum.
▪ Momentum Trading Opportunities: Acceleration often fuels stock price momentum, especially post-earnings. Traders can ride these trends using technical setups like breakouts or pullbacks.
Example: A stock breaking above a key resistance level after reporting accelerating growth may be a buy signal for swing traders.
▪ Early Indicator of Breakouts: Companies with accelerating fundamentals are more likely to experience price breakouts, as institutional investors (e.g., hedge funds, mutual funds) pile in. Traders can use this to position early.
Example: A retailer with accelerating sales due to strong holiday demand might gap up post-earnings, offering a breakout trade.
▪ Confirmation of Fundamental Strength: Acceleration validates a company’s growth story, reducing the risk of investing in stocks with inconsistent performance. Traders can align technical trades with strong fundamentals.
Example: A biotech with accelerating sales from a new drug launch may sustain a rally, giving traders confidence in long positions.
▪ Volatility for Short-Term Trades: Earnings reports showing acceleration often lead to significant price gaps or volatility, creating opportunities for day traders or options traders.
Example: A trader might buy call options on a stock expected to report accelerating earnings, anticipating a sharp post-earnings move.
🔹 Power Earnings Gaps - Examples
🔹 Screening Features - Setting Your Search Criteria
Power Earnings Gap
▪ Search Range
How many bars back to search for Power Earnings Gaps, anywhere between 1 and 90 bars.
▪ Last Bar Only
Look only at the last bar for Power Earnings Gaps. This is useful when looking for PEGs when screening at the end of a trading day. Choosing this option, the Search Range will be ignored.
▪ Minimum Price % Gap Up From Prior Close
This is the minimum gap up percent change to be considered a Power Earnings Gap.
▪ Minimum Volume % Change Over Average
This is the minimum volume percent change, over the 50-day average volume, to be considered a Power Earnings Gap.
▪ Require Positive Surprise
Require a positive earnings surprise and the minimum percent change.
▪ Require Closing Range
To ensure the price action closed strong on the day, specify a preferred closing range as a percentage of the bar's daily range.
▪ Gap Up Bar
The gap up bar can be configured to require one of the following:
- Open Above Prior High - Ensures there is visible gap up from the prior bar.
- Low Above Prior High - Allows for intraday price action to go below the prior bar high.
- No Requirement
Earnings And Sales Acceleration
▪ Quarters of Acceleration
You can specify between 1 and 4 quarters of earnings and/or sales acceleration.
🔹 Installation And Usage
▪ Mark this indicator as a Favorite.
▪ Use the Pine Screener to search for stocks.
▪ Save the search results to a watchlist.
▪ View the watchlist in TradingView.
🔹 Note
▪ Risk of Reversals: Not all gaps sustain their direction. Over reactions can lead to gap fills.
▪ High Volatility: Earnings gaps can be unpredictable, requiring quick decision-making & discipline.
Script pago






















