StockMarket Update : Bubble Reaching a Possible Momentum Limit E-MINI S&P 500 FUTURES (CONTINUOUS: CURRENT CONTRACT IN FRONT) CME_MINI:ES1! PRO_Indicators Hope this idea will inspire some of you ! Don't forget to hit the like/follow button if you feel like this post deserves it ;) That's the best way to support me and help pushing this content to other users. Kindly, Phil Code used for marketcaps : // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © PRO_Indicators //@version=4 study("Top5 Cap") cap(asset) => tot_shares = financial(asset, "TOTAL_SHARES_OUTSTANDING", "FQ", barmerge.gaps_off) tot_shares * security(asset, timeframe.period, close, 0, 1) top5 = cap("NASDAQ:AAPL")+cap("NASDAQ:MSFT")+cap("NASDAQ:AMZN")+cap("NASDAQ:GOOG")+cap("NASDAQ:FB") plot(top5)