StockFetcher Forums · General Discussion · Is there any website that can plot Market Cap instead of price<< >>Post Follow-up
styliten
348 posts
msg #162135
Ignore styliten
4/24/2026 1:54:15 PM

as trendlines over time so one can easily see comparisons ACROSS DIFFERENT TICKERS rather than being distracted by price moves of individual components, which is always very messy.

Not a heat map like this:

Market Cap Map

But something similar to this in terms of format:

Stock PRICE of NVDA vs GOOGL vs AAPL vs MSFT vs AMZN

xarlor
646 posts
msg #162136
Ignore xarlor
4/24/2026 8:03:31 PM

I did it in TradingView with a Pine script.

Here is a 5-year plot: https://www.tradingview.com/x/u7wK0BWK/

And here is the Pine script that makes it happen:
----------------------------------------------------------------------
// Market Cap Overlay Comparsion by Xarlor for SF styliten

//@version=5
indicator("Market Cap Overlay Comparison (5 Tickers)", overlay=false)

// === INPUTS ===
symbol1 = input.symbol("AAPL", "Symbol 1")
symbol2 = input.symbol("MSFT", "Symbol 2")
symbol3 = input.symbol("GOOGL", "Symbol 3")
symbol4 = input.symbol("NVDA", "Symbol 4")
symbol5 = input.symbol("AMZN", "Symbol 5")

// === FUNCTION TO CALCULATE MARKET CAP ===
f_marketCap(sym) =>
price = request.security(sym, timeframe.period, close)
shares = request.financial(sym, "TOTAL_SHARES_OUTSTANDING", "FQ")
price * shares

// === CALCULATE MARKET CAPS ===
mc1 = f_marketCap(symbol1) / 1e9
mc2 = f_marketCap(symbol2) / 1e9
mc3 = f_marketCap(symbol3) / 1e9
mc4 = f_marketCap(symbol4) / 1e9
mc5 = f_marketCap(symbol5) / 1e9

// === COLORS ===
c1 = color.blue
c2 = color.green
c3 = color.orange
c4 = color.red
c5 = color.purple

// === PLOTS ===
plot1 = plot(mc1, title="AAPL", color=c1, linewidth=2)
plot2 = plot(mc2, title="MSFT", color=c2, linewidth=2)
plot3 = plot(mc3, title="GOOGL", color=c3, linewidth=2)
plot4 = plot(mc4, title="NVDA", color=c4, linewidth=2)
plot5 = plot(mc5, title="AMZN", color=c5, linewidth=2)

// === LABELS ===
if barstate.islast
label.new(bar_index, mc1, symbol1, color=c1, textcolor=color.white, style=label.style_label_left)
label.new(bar_index, mc2, symbol2, color=c2, textcolor=color.white, style=label.style_label_left)
label.new(bar_index, mc3, symbol3, color=c3, textcolor=color.white, style=label.style_label_left)
label.new(bar_index, mc4, symbol4, color=c4, textcolor=color.white, style=label.style_label_left)
label.new(bar_index, mc5, symbol5, color=c5, textcolor=color.white, style=label.style_label_left)




styliten
348 posts
msg #162137
Ignore styliten
4/30/2026 9:03:22 PM

@xarlor

You are the ONE. Wish there is a way to replicate the same thing in Stockfetcher.com!

Here comes my wish for a lifetime (no exaggeration):

Wish there is a way to plot by any ticker symbol its market cap PERCENTILE progression over time (instead price up and downs). So for example, as of today, there are approximately 5K individual tickers between NYSE and NASDAQ and 55 or so largest stocks made up the top 1 percentile category. How did they get to the top percentile? A chart of their percentile progression would be very helpful.

StockFetcher Forums · General Discussion · Is there any website that can plot Market Cap instead of price<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2026 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.