TradingView
CosmonautCalls
٦ أيلول سبتمبر ٢٠١٨ ١٤:٥٧

BTC longs n' shorts 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

الوصف

A indicator that neatly shows you BitFinex margin longs and shorts that can be put on any chart!
التعليقات
LanselotGK
data is not loading , and buy sell signals missing .
LanselotGK
hi sir thanks for sharing but is not working.can you fix it please
deniscccc
Look at the following code. It shows Longs/Shorts not only for BTC but for any "ticker" on bitfinex (if it exists)

It's BFXLS by lvturner


//@version=3
study("BFXLS", overlay=false)

shortSym = ticker + "SHORTS"
longSym = ticker + "LONGS"

shorts = security(shortSym, period, open)
longs = security(longSym, period, open)

hist = longs - shorts

p1 = plot(longs, color=#36a8453F, style=area, linewidth=4)
p2 = plot(-shorts, color=#d11d173F, style=area, linewidth=4)

plot(hist, title='LvS', style=area, color=#ffffff3F)
المزيد