Search this site
Embedded Files
Trading indicators of masters
  • Index
  • PWC wave
  • Contact me
  • Trade Lab
    • Gamma flip / Gamma walls rectangles
    • Chart Pattern Falling Wedge
  • TradeBook Notes
    • The Richard D. Wyckoff Method of Trading and Investing in Stocks
      • chapter 1
    • How to Trade in Stocks
      • Chapters 1 to 4
      • Chapter 5: Key Pivot Points
      • Livermore Market Key/The Six-Point System
    • Trader Vic: Methods of a Wall Street Master
      • 01. Victor's Trading Philosophy
      • 02. 1-2-3 Rule
      • 03. 2B Rule
      • 04. ABC three-wave pattern of a secondary correction
      • 05. two oscillation indicators
      • 06. Screen for pullback opportunities in leading stocks
      • 07. Stock Selection
      • 12. Trading Principles
    • Trader Vic II: Principles of Professional Speculation
      • The Willpower to Execute Knowledge
      • Change to Persist
  • TradingView indicators
    • Pivot automatic
    • Livermore Market Key
    • risk_on_risk_off_indicator
    • Sector Rotation
    • SPY Downside Risk - Bond Flow
    • OHLC for future
    • Medium-term Trend
    • Wyckoff Dual Wave
    • Divergence Multi
    • Order Blocks V5
    • Professional Trend Line 123
    • Stock Financial & Holmes Law Growth Analysis
    • SPY Institutional PE (Top 20) + EPS Table
    • Nasdaq100 Institutional PE (Top 20) + EPS Table
    • Bull-Bear Line
    • scalp01
    • GEX Gamma Flip & Walls
  • Trader Network
    • Kevin Davey
  • 随笔
  • 学习资源
    • Tradingview/PineScript
    • EasyLanguage学习资料
      • markplex
      • easylanguage mastery
      • MultiCharts中文版 函数
    • 经典书籍
      • 交易心理分析 有声书
      • 华尔街幽灵 有声书
Trading indicators of masters
  • Index
  • PWC wave
  • Contact me
  • Trade Lab
    • Gamma flip / Gamma walls rectangles
    • Chart Pattern Falling Wedge
  • TradeBook Notes
    • The Richard D. Wyckoff Method of Trading and Investing in Stocks
      • chapter 1
    • How to Trade in Stocks
      • Chapters 1 to 4
      • Chapter 5: Key Pivot Points
      • Livermore Market Key/The Six-Point System
    • Trader Vic: Methods of a Wall Street Master
      • 01. Victor's Trading Philosophy
      • 02. 1-2-3 Rule
      • 03. 2B Rule
      • 04. ABC three-wave pattern of a secondary correction
      • 05. two oscillation indicators
      • 06. Screen for pullback opportunities in leading stocks
      • 07. Stock Selection
      • 12. Trading Principles
    • Trader Vic II: Principles of Professional Speculation
      • The Willpower to Execute Knowledge
      • Change to Persist
  • TradingView indicators
    • Pivot automatic
    • Livermore Market Key
    • risk_on_risk_off_indicator
    • Sector Rotation
    • SPY Downside Risk - Bond Flow
    • OHLC for future
    • Medium-term Trend
    • Wyckoff Dual Wave
    • Divergence Multi
    • Order Blocks V5
    • Professional Trend Line 123
    • Stock Financial & Holmes Law Growth Analysis
    • SPY Institutional PE (Top 20) + EPS Table
    • Nasdaq100 Institutional PE (Top 20) + EPS Table
    • Bull-Bear Line
    • scalp01
    • GEX Gamma Flip & Walls
  • Trader Network
    • Kevin Davey
  • 随笔
  • 学习资源
    • Tradingview/PineScript
    • EasyLanguage学习资料
      • markplex
      • easylanguage mastery
      • MultiCharts中文版 函数
    • 经典书籍
      • 交易心理分析 有声书
      • 华尔街幽灵 有声书
  • More
    • Index
    • PWC wave
    • Contact me
    • Trade Lab
      • Gamma flip / Gamma walls rectangles
      • Chart Pattern Falling Wedge
    • TradeBook Notes
      • The Richard D. Wyckoff Method of Trading and Investing in Stocks
        • chapter 1
      • How to Trade in Stocks
        • Chapters 1 to 4
        • Chapter 5: Key Pivot Points
        • Livermore Market Key/The Six-Point System
      • Trader Vic: Methods of a Wall Street Master
        • 01. Victor's Trading Philosophy
        • 02. 1-2-3 Rule
        • 03. 2B Rule
        • 04. ABC three-wave pattern of a secondary correction
        • 05. two oscillation indicators
        • 06. Screen for pullback opportunities in leading stocks
        • 07. Stock Selection
        • 12. Trading Principles
      • Trader Vic II: Principles of Professional Speculation
        • The Willpower to Execute Knowledge
        • Change to Persist
    • TradingView indicators
      • Pivot automatic
      • Livermore Market Key
      • risk_on_risk_off_indicator
      • Sector Rotation
      • SPY Downside Risk - Bond Flow
      • OHLC for future
      • Medium-term Trend
      • Wyckoff Dual Wave
      • Divergence Multi
      • Order Blocks V5
      • Professional Trend Line 123
      • Stock Financial & Holmes Law Growth Analysis
      • SPY Institutional PE (Top 20) + EPS Table
      • Nasdaq100 Institutional PE (Top 20) + EPS Table
      • Bull-Bear Line
      • scalp01
      • GEX Gamma Flip & Walls
    • Trader Network
      • Kevin Davey
    • 随笔
    • 学习资源
      • Tradingview/PineScript
      • EasyLanguage学习资料
        • markplex
        • easylanguage mastery
        • MultiCharts中文版 函数
      • 经典书籍
        • 交易心理分析 有声书
        • 华尔街幽灵 有声书

SPY Institutional PE (Top 20) + EPS Table

Description

The SPY Institutional PE (Top 20) is a powerful macro-analysis tool designed to provide a real-time "Under the Hood" look at the valuation of the S&P 500. Instead of looking at the SPY price in isolation, this indicator calculates a Weighted Price-to-Earnings (P/E) Ratio based on the Top 20 institutional holdings that drive the market.


By aggregating the fundamental data (EPS TTM) and real-time prices of market giants like AAPL, MSFT, NVDA, and AMZN, this indicator offers a clearer picture of whether the broad market is becoming overextended or undervalued from an institutional perspective.



Key Features

1. Weighted Institutional P/E Calculation

The indicator doesn't just average the P/E ratios; it uses a Weighted Earnings Yield (E/P) methodology. It assigns specific weights to the Top 20 components of the SPY (reflecting their actual market influence) to derive a unified "Institutional P/E" curve. This helps you identify macro trend exhaustion when the aggregate P/E reaches historical extremes.


2. Real-time Fundamental Dashboard

The built-in table provides an instant health check of the market leaders, including:


Symbol List: The Top 20 stocks by market cap/weight.


EPS (TTM): The actual Trailing Twelve Months Earnings Per Share for each company.


Individual P/E: The current valuation for each giant.


Visual Alerts: Cells are highlighted in Red if a company reports negative earnings, signaling fundamental weakness in that sector.


3. Macro Sentiment Analysis

Use the plotted P/E line to gauge market sentiment:


Rising P/E Line: Indicates the market is paying more for each dollar of profit (Multiple Expansion).


Falling P/E Line: Indicates the market is becoming "cheaper" fundamentally (Multiple Compression).



Settings

Show EPS / PE Table: Toggle the dashboard on or off to keep your chart clean.

Table Position: Move the table to the Left or Right of your screen to suit your workspace layout.


How to Use

Market Tops: Look for instances where the SPY price is making new highs, but the Institutional P/E is spiking to unsustainable levels—this suggests a "valuation bubble."


Market Bottoms: Look for the P/E curve to flatten or drop significantly after a crash, indicating that value is returning to the Top 20 holdings.


Earnings Season: Monitor the table during earnings weeks to see which specific giants are dragging the weighted P/E up or down.


Note: This indicator uses request.financial and request.security to fetch data for 20 different tickers. It is best used on daily timeframes for macro valuation analysis.

The vast majority of the strategies and indicators I have implemented so far are inspired by the works of Wyckoff, Livermore, and Victor.

 I generally release private, invite-only scripts. If you need access to a specific one, feel free to send me an email—note that a basic Tradingview subscription is required. You’re also welcome to join my Discord channel, where I share regular content updates. 

TradingView published scripts  X   Discord     Youtube


Disclaimer: The content on this website is for educational and informational purposes only and does not constitute any financial trading advice. Past performance is not indicative of future results. Trading involves risks and may lead to the loss of principal; please make prudent decisions. 
Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse