DanielCal

Margin Longs vs Shorts for BTC ETH & all Bitfinex pairs

DanielCal Updated   

Two modes of use...

a) The script detect chart symbol and show corresponding Bitfinex Longs & Shorts (if data exist).
b) You select BTCUSD or ETHUSD Bitfinex Longs & Shorts to show on any chart.


Two comparison views...

a) Juxtaposed: longs and shorts in same direction, side by side. (My preferred view)
b) Counterposed: longs and shorts in opposite polarity, separated by zero line. Another line is plotted representing the difference.




Release Notes:


Script UPDATE!

Added a new option to select the scale (normal or porcentaje), only valid for Juxtaposed view.


// Two modes of use...
// a) The script detect chart symbol and show corresponding Bitfinex Longs & Shorts (if data exist).
// b) You select BTCUSD or ETHUSD Bitfinex Longs & Shorts to show on any chart.

// Three comparison views...
// a) Juxtaposed (with normal scale): longs and shorts in same direction, side by side. (My favorite view)
// b) Juxtaposed (with percentage scale): longs and shorts in same direction, side by side.
// c) Counterposed: longs and shorts in opposite polarity, separated by zero line. Another line is plotted representing the difference.
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?