Pro-indicators
StockMarket Update : Bubble Reaching a Possible Momentum LimitHope 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 mozilla.org
// © 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)