PROTECTED SOURCE SCRIPT

IBD Style - EPS & Sales

72
Purpose

  • Brings MarketSmith/MarketSurge-style fundamentals directly into TradingView.
  • Designed for growth traders using EPS, sales, and acceleration as core criteria.


Data & Detection

  • Automatically detects earnings events from TradingView data.
  • Reconstructs up to 8 quarters of EPS and revenue.
  • Distinguishes actual vs. standardized EPS, fills missing values, fixes irregularities.


Weekly Earnings Table

  • Shows EPS, YoY & QoQ growth, EPS surprises, sales, sales growth, margin, ROE.
  • Dynamically scales revenue (millions/billions).
  • Alternating row colours + MarketSmith / MarketSurge themes.


Daily HeadBand Table

  • Condensed view of last 4 quarters.
  • Shows growth metrics + next earnings date.


Chart Annotations

  • Optional earnings arrows with EPS% (and sales%).
  • MarketSmith-style coloring and ±999% limits.
  • “Digits-only” mode for clean charts.


Data Safeguards

  • Handles negative EPS cases (#), duplicated values, missing quarters, and reporting irregularities.


Overall

  • Not a signal tool—an integrated fundamental visualization framework.
  • Lets traders see earnings acceleration, revenue strength, and profitability without leaving the chart.

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.