PROTECTED SOURCE SCRIPT
Updated

Bitfinex Longs vs Shorts [R1984]

1927
TradingView Pine script to compare open Bitfinex BTCUSD long versus short positions.

This indicator compares open BTCUSD Bitfinex long versus short positions.

Features
  • Switch between total position and percent comparison.
  • Configurable gradient shading (useful with total position comparison).

Release Notes
Pine source available here. Fork it if you wanna fork.
Release Notes
Better screenshot.
Release Notes
Update screenshot

Options
i.imgur.com/N9rZ976.png

Display as %
snapshot
Release Notes
Major update:
  • Ported to Pine Script v4
  • Added all available altcoin margin trading pairs on Bitfinex
  • Optional aggregation of positions for all available markets, e.g. EUR, GBP, JPY, USDt, BTC, ETH
  • Display positions in a variety of notional values, e.g. percentage, USD, EUR, GBP, JPY, BTC, ETH
  • Added option to display as a traditional area chart instead of the default "delta blob"


Options
pbs.twimg.com/media/ERwa7lrWkAArCCI?format=png

Markets
pbs.twimg.com/media/ERwa7xDWAAACEM3?format=png

The script pulls a lot of data, so it can be somewhat slow to load.

Tips appreciated. 😊
bc1qr080t84cnpudvnjx3ef2zezs9cnwah37qtz9k6
tippin.me/@1984b0t
Release Notes
Added option to include or exclude the default USD market.
Release Notes
Fix preview image. 😑
Release Notes
Added option to switch unit value between thousands, millions, and billions. This will reduce the width of the axis values when denominated in fiat units.

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.