CRISIS

(CRISIS) Aggregate BTC Volume V0.1

BTC
108 0 10
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)
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out