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

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.

- 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)

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

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
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 until 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 Public Library.

Want to use this script on a chart?

Warning: please read before requesting access.


Hi there great work on your indicators! May I have access to have a look at this one?
+1 Reply
cI8DH Davespips
@Davespips, Hi, sure you can. just follow the instructions given in the linked TA.
Hi, could I have access please?
+1 Reply
cI8DH AeryntOne
@AeryntOne, sure :)
@cI8DH, thanks :)
+1 Reply
Wow, legendary
+1 Reply
cI8DH DatCryptoBoi
hello, can i test indi? thank you
+1 Reply
hi. Can i have access plz.
+1 Reply
cI8DH ralla1214
@ralla1214, sure, it's a trial access for a week :)
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out