INVITE-ONLY SCRIPT
已更新 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.


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)

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

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)
Read the description in the TA below for getting access to this script.

發行說明
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)發行說明
- removed source, now defaults to close免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。