CRISIS

(CRISIS) Aggregate BTC Volume V0.1

btc
59 0 8
btc
Agreggate volume from 3 exchanges into one indicator.

Securities can be changed in settings -> inputs
Remove from Favorite Scripts Add to Favorite Scripts
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)
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out