PROTECTED SOURCE SCRIPT

Bubble Chart Lite

41
Bubble Chart Lite - Visual Market Intelligence


Quick Start - Here is how you get started in 30 seconds
  • Default view (Y-axis: None) = market heatmap
  • X-axis always = performance
  • Bubble size = importance (your choice of metric)
  • Hover any bubble for details
  • Switch timeframes to change the measurement window
  • Pick any stock ticker to see their friends
  • Pick one of the 143 etfs listed below and see their top constituents


That's it. Everything else is deeper cuts of data



Overview

The Bubble Chart is a market-wide visual map designed to instantly reveal how thousands of stocks and ETFs are performing relative to their peers, all in a single glance.
It dynamically builds relationships between ~3,400 stocks and 143 ETFs, each with its own “friends list” of most-connected tickers. It’s a bit unlike all the other indicators, which you’ll see shortly. It’s a very Tops Down, then Sideways view of the market.

The 144 ETFs covered in the Bubble Chart indicator are listed here in this watchlist:https://www.tradingview.com/watchlists/203818065/

Each bubble represents a security.
  • X-axis → performance (% change)
  • Y-axis → variable (you choose the insight)
  • Bubble size → market cap, relative weight, or %volume
  • Color → relative performance (green up, red down)
  • Border → sector color


Your current chart’s timeframe determines the measurement window:
  • Intraday chart → today so far
  • Daily chart → week-to-date (WTD)
  • Weekly chart → month-to-date (MTD)
  • Monthly chart → year-to-date (YTD)


Everything is relative to that timeframe’s performance window — making it as useful for morning scans as for long-term sector rotations. I recommend starting with an intraday chart. The bubbles represent the day so far on this timeframe.



📦 Version Differences
Bubble Chart Lite (Free):
✓ All features and dimensions
✓ Up to 5 bubbles displayed
✓ Perfect for tracking top movers
Bubble Chart (Invite-Only):
✓ All features and dimensions
✓ Up to 38 bubbles displayed
✓ See actual market breadth and structure
✓ Indicator name: “Bubble Chart”
✓ Available under the indicator “Bubble Chart” (Invite-Only) — details on my profile



📊 Y-Axis Options

1. “None” - Heatmap Mode
снимок
By default, the Y-axis is set to “None”.
In this mode, the chart functions as a market heatmap, with:
  • Left-to-right representing relative performance (% change)
  • Bubble color indicating gain/loss
  • Bubble size reflecting your chosen metric (Market Cap, Weight, or %Volume)
  • Up-down randomized just for bubble separation


Think of it as a fancy heatmap with extra context — sector coloring, bubble sizing, and tooltips that surface live data.
Perfect for a quick snapshot of the day’s winners and losers across your selected universe.


1. %Turnover

This measures conviction behind each move.
Turnover = current money flow vs. average money flow over your lookback window.
  • A large % move with low turnover = a weak move with little backing.
  • A moderate % move with high turnover = strong participation, higher conviction.


This is my personal favorite morning setup — it instantly reveals where real buying and selling pressure is emerging as the session unfolds.
A horizontal line across your selected ticker acts as a benchmark, so you can compare others’ conviction levels relative to it.
снимок
Any %turnover score >100 means more money than average is flowing in and out of this name. In the example above based on the top 5 holdings of GDX, there was one standout performer, and that’s WPM. this should put WPM on a watchlist if you’re interested in gold. It shows, that at least for one day, the market was putting money behind it.And more so than the other top 5 miners.



2. %ATR

Measures range expansion or compression relative to average volatility.
  • A stock can move big in price but stay inside a tight range → no expansion.
  • A stock can move little but break its typical volatility boundary → range expansion.


Expansion often signals momentum continuation; compression after large moves can precede turnarounds or consolidations.
This view helps you spot early volatility inflection points.
снимок
In the example above, in the food and beverage space, based on the top 5 holdings of the ETF PBJ, KR and DASH had moves that will expand their ATR. This means volatility is increasing for this ticker, in the direction of the color of the circle. So KR is expanding to the upside, while DASH is expanding to the downside. It should make a person cautious to go long DASH, as that’s not what the market is showing.The other moves by the other bobbles, show up as volatility contraction. Their price (CTVA, PBJ, KDP, and SYY) is stabilizing. (over the lookback period in settings).


3. ROC(5) Z-Score

Z-Score quantifies how far a data point deviates from its mean, measured in standard deviations.
Here it’s applied to 5-period Rate of Change (ROC5).

A high positive Z-Score = performance far above its historical average.
A low (negative) Z-Score = deeply oversold vs. history.

Use this view to identify stretched momentum or mean-reversion candidates:
  • Stocks high on the Y-axis and green = extended upside momentum
  • Stocks high but red = potential reversal zones
  • Stocks low and red = extreme washouts that may soon rebound


This makes it a powerful stock-picking lens for traders who look for reversions or contrarian entries.
The following is the XLU and its 5 top holdings. Looked at on the daily timeframe, which means the ROC(5) score is for its weekly ROC (see timeframe discussion above).
снимок
What you can see here is NEE is at a z-score of 205 (it’s 2.05 but we multiply by 100 for spacing). This means its weekly ROC(5) only happens 4-5 percent of the time. This is a perfect candidate to fade the move.
As you can see in the graph below, that charts NEE, every time its ROC(5) z-score (the bottom pane) has reached this level on the weekly, the move ends (at least for a short period of time. The rubber band of momentum is too far extended. You can use this for long setups too
снимок



4. RSI(15) Z-Score

Similar to the ROC version, but based on RSI(15).
It contextualizes RSI against its own historical distribution, not the fixed 0–100 scale.

When RSI’s Z-Score is above +100 → historically overbought.
Below -100 → historically oversold.
  • A stock with a high RSI Z-Score but negative performance may be starting to roll over.
  • A stock with a low RSI Z-Score but positive performance could be beginning a rebound.


This lens is especially powerful for early spotting of turning points in swing and position trades.
снимок
Above is an example of how to read it with the top 5 stocks in the IFRA ETF.


5. %52-Week High / %52-Week Low

These two let you visualize positioning within the broader yearly range.

%52-Week High:
Shows how close each ticker is to its highs. Stocks near the top may be in breakout mode.

%52-Week Low:
Shows distance from the lows. Watching these can highlight potential recovery trades — many reversals start when beaten-down stocks begin to cluster and climb from their lows.
снимок
Are you really going to want to mess around with VZ? Other companies are winning the race


⚙️ Bubble Size Options

Market Cap-
Larger companies = larger bubbles.
Ideal for weighting visibility by overall size of influence in the market or sector.

ETF/Friend Weight-
Scales bubbles by their relationship weight to the target ETF or stock.
This helps identify which peers or constituents exert the most pull within the current context.

%Volume-
This scales by relative volume to average volume.
Big bubbles here mean unusual activity, perfect for spotting where participation is surging.



👥 Friends — Relationship Mapping

Every ticker on the chart has its own “friends list.”
These aren’t arbitrary. They’re discovered through a multi-stage algorithm that analyzes co-occurrence of holdings across ETFs and sectors, roughly like social network analysis for stocks. This is what allows a chart of one stock to intelligently surface others that behave like it, whether through shared ETFs, sector overlap, or statistical co-presence.

Why Friends Matter: When you load AAPL, the chart doesn't just show random stocks. It shows AAPL's "friends", the tickers most connected to it through:
  • Shared ETF holdings
  • Sector relationships
  • Statistical co-movement

This means you're seeing AAPL's context, not just AAPL. Example: AAPL up 2% might look strong, but if all its friends are up 3-4%, AAPL is actually lagging. The chart reveals this instantly.
снимок



Common Setups - do these today

  • Morning Momentum Scan: - Y-axis: %Turnover - Bubble Size: %Volume - Look for: Top-right quadrant (high performance + high conviction)
  • Reversal Hunting: - Y-axis: RSI(15) Z-Score - Look for: Red bubbles above +100 (overbought rolling over) Green bubbles below -100 (oversold bouncing)
  • Sector Rotation: - Y-axis: None (heatmap mode) - Bubble Size: Market Cap - Look for: Color clustering by sector (border colors)




🧩 Data Sources

ETF Constituents:
ETF holdings are derived from information filed with the SEC’s EDGAR database, specifically N-PORT-P filings. These filings are public records submitted by ETF issuers.
Because EDGAR data can vary in structure and naming conventions, additional parsing, fuzzy matching, and ticker reconciliation logic were applied. Some inconsistencies may remain, and minor inaccuracies are possible.
EDGAR filings can also lag slightly behind real-time changes to ETF portfolios; however, for this visualization tool, that level of latency does not materially affect its purpose or insights.

Exchange & Share Count Data:
Information on exchanges and outstanding shares primarily comes from the SEC Company Facts API.
When unavailable, supplemental values are inferred from public SEC filings such as 8-K, 10-Q, and 10-K reports, and the SEC Company Submissions API for general company metadata.
All such data is publicly accessible through the SEC’s online systems.

I will update the SEC information on the ETFs once every 3 months to ensure etf constituent accuracy.

Sector & Industry Classification:
Sector and industry classifications were developed through a custom workflow that combines automated and human-reviewed methods.
An internal AI system analyzed each company’s publicly available website information to summarize business activities and assign one of 144 custom-defined industry categories.
Results were cross-checked by multiple independent classification models, and any uncertain outputs were manually reviewed for accuracy.

To improve interpretive consistency, publicly available information from StockAnalysis.com was also referenced (not republished) to inform final classifications.
Their content was used in accordance with their stated policy allowing limited reference with attribution — no full content or proprietary data was reproduced.



🚀 How to Use It
  1. Load the Bubble Chart on any stock, ETF, or futures symbol.
  2. Choose your Y-axis insight — start with “None” for the heatmap.
  3. Adjust bubble size to highlight capital weight or activity.
  4. Switch timeframes to shift context (today, this week, month, or year).
  5. Hover bubbles for details: sector, turnover, z-scores, %volume, and more.




❓ Frequently Asked Questions
Q: Why do I only see 5 bubbles?
A: You're using Bubble Chart Lite. The full version shows up to 39 bubbles simultaneously for complete market breadth..
To get access:
  1. Find the "Bubble Chart" (invite-only) indicator on TradingView
  2. Read the description for access instructions
  3. Or visit my TradingView profile for details

Q: Can I customize which tickers appear?
A: The indicator automatically selects the most relevant tickers based on the current chart's symbol and the friends algorithm. This ensures you're seeing context, not random stocks.
Q: What timeframe should I use?
A: Any timeframe works. The chart adapts: - Intraday = today's performance - Daily = week-to-date - Weekly = month-to-date - Monthly = year-to-date
Q: How often does the friends list update?
A: Friends relationships are recalculated periodically as ETF holdings change (once every 3 months). The relationships are stable enough that daily changes are minimal.
Q: Does this work on crypto/forex?
A: Currently optimized for US equities and ETFs. Other asset classes may show limited friends data.
Q: The chart looks cluttered. Help?
A: Start with Y-axis: None and Bubble Size: Market Cap. You can also choose to pick less number of bubbles which will clear up the chart



The Bubble Chart is a market topology engine that visualizes participation, conviction, volatility, and sentiment in real time.
Whether you’re scanning morning momentum, identifying exhausted moves, or exploring ETF ecosystems, it gives you a spatial view of where the action really is.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.