INVITE-ONLY SCRIPT

Longs Shorts & Divergence (LSD) (Ratio, Diff, Total) [cI8DH]

Updated
This indicator automatically identifies the ticker for the current chart and shows margins at Bitfinex (or any other exchange if listed on Tradingview). So if your chart is reading EOSUSD at Kraken, this indicator will show EOSUSDSHORTS and EOSUSDLONGS at Bitfinex.

snapshot

snapshot

Features:
- Total of longs + shorts ("could" be an indicator of market attractiveness)
- Difference between longs and shorts (good if you want to have only one chart)
- Longs to total margin ratio in percentage
- Highlighting of indicator background when margins diverge too much from price (sensitivity of divergence is adjustable, divergence can be applied to longs, -shorts, longs+shorts, longs-shorts)
- Price factoring (gives a consistent metric when switching between different coins)
- Tickers can be set to a fixed value or automatically extracted from the current chart (fixed is useful for hybrid tickers)
- Margin exchange can be modified (default is Bitfinex)
- Offset for longs (helps with scaling)

snapshot

Read the description in the TA below for getting access to this script.

H&S
Release Notes
Added support to auto-detecting some weird pairs (DASH > DSH, QTUM > QTM, IOTA > IOT). Thanks to acatwithcharts for reminding me about these oddities on Bitfinex ticker naming)
Release Notes
- removed source, now defaults to close
bitfinexcryptoCryptocurrencyDivergencelongsshortsVolume

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact cI8DH for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

Want to use this script on a chart?

Warning: please read before requesting access.

Also on:

Disclaimer