CRISIS

(CRISIS) Aggregate BTC Volume V0.1

BTC
21
btc
Agreggate volume from 3 exchanges into one indicator.

Securities can be changed in settings -> inputs
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?
study("aggregateBTCvol V0.1", precision=0)

SecVol1Input = input(defval="HUOBI:BTCCNY", title="first security", type=symbol, confirm=true)
SecVol1 = security(SecVol1Input, period, volume)

UseSecVol2 = input(true, title="Use second security?")
SecVol2Input = input(defval="OKCOIN:BTCCNY", title="second security", type=symbol, confirm=true)
SecVol2Value = security(SecVol2Input, period, volume)
SecVol2 = UseSecVol2 ?  SecVol2Value : 0

UseSecVol3 = input(true, title="Use Third security?")
SecVol3Input = input(defval="BITFINEX:BTCUSD", title="Third security", type=symbol, confirm=true)
SecVol3Value = security(SecVol3Input, period, volume)
SecVol3 = UseSecVol3 ?  SecVol3Value : 0

AggSecVol = SecVol1+SecVol2+SecVol3

plot(AggSecVol, title='BTC Volume', style=columns, transp=80, trackprice=false,linewidth=3, color=white)