StableCoin MC vs Total MC by Crypto5Max 
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © 5millionM

//@version=5
indicator('StableCoin MC vs Total MC by Crypto5Max ', overlay=false)
usdt = request.security('CRYPTOCAP:USDT', timeframe.period, close)
usdc = request.security('CRYPTOCAP:USDC', timeframe.period, close)
ust = request.security('CRYPTOCAP:UST', timeframe.period, close)
dai = request.security('CRYPTOCAP:DAI', timeframe.period, close)
total_mc = request.security('CRYPTOCAP:TOTAL', timeframe.period, close)


plot((usdt + usdc + ust + dai) / total_mc)

