[MACLEN] VolumenTotal
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © MaclenMtz

//@version=5
indicator("VolumenTotal")
vol1    =   request.security("BINANCE:BTCUSDT", timeframe.period, volume)
vol2    =   request.security("BITFINEX:BTCUSD", timeframe.period, volume)
vol3    =   request.security("BINANCE:BTCUSDTPERP", timeframe.period, volume)
vol4    =   request.security("BINANCEUS:BTCUSD", timeframe.period, volume)
vol5    =   request.security("BINANCEUS:BTCUSDT", timeframe.period, volume)
vol6    =   request.security("HUOBI:BTCUSDT", timeframe.period, volume)
vol7    =   request.security("KRAKEN:BTCUSD", timeframe.period, volume)
vol8    =   request.security("KRAKEN:BTCUSDT", timeframe.period, volume)
vol9    =   request.security("BITMEX:XBTUSDT", timeframe.period, volume/close)
vol10   =   request.security("FTX:BTCUSD", timeframe.period, volume/close)
vol11   =   request.security("FTX:BTCPERP", timeframe.period, volume/close)
vol12   =   request.security("COINBASE:BTCUSD", timeframe.period, volume)
vol13   =   request.security("COINBASE:BTCUSDT", timeframe.period, volume)
vol14   =   request.security("BITSO:BTCMXN", timeframe.period, volume)

volTot  =   vol1+vol2+vol3+vol4+vol5+vol6+vol7+vol8+vol9+vol10+vol11+vol12+vol13+vol14
plot(volTot, color=color.white, style=plot.style_histogram)

var table display = table.new(position.middle_right,1,1)
labelText   =   str.tostring(volTot)
table.cell(display,0,0,labelText)
