(CRISIS) Aggregate BTC Volume V0.1

132 0 14
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)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
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