PROTECTED SOURCE SCRIPT

Biitfinex ETH Longs+Shorts

1 340
// version 1.0 alerts of 4 types just testing things out

//version=3

study("Biitfinex ETH Longs-Shorts")

shorts = pow(security("BITFINEX:ETHUSDSHORTS", period, close),1.0)
plot(shorts, title='Bitfinex Shorts', color=red)

longs = pow(security("BITFINEX:ETHUSDLONGS", period, close),1.0)
plot(longs, title='Bitfinex Longs', color=green)

dif=longs+shorts // calculate difference
plot(dif, color=black, title="Difference") // plot difference

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.