R1984

Bitfinex Longs vs Shorts [R1984]

R1984 Updated   
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
 
Display as %
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
 
Markets
 
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.

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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.

Want to use this script on a chart?