INVITE-ONLY SCRIPT
Mis à jour

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

3 640
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
Notes de version
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)
Notes de version
- removed source, now defaults to close

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.