OPEN-SOURCE SCRIPT

Long/Short Margin Ratio for cryptocurrencies

BTCUSDSHORTS and BTCUSDLONGS are like datasets provided by Bitfinex exchange. They record the number of margined for longs and shorts and they are measured in BTC (in case using BTCUSD ).
Margin is Like any loan, the borrower may pay interest while the loan is outstanding, and must eventually pay the loan back.

Red Area: More short margin than long margin.
Green Area: More long margin than short margin.

Note: Can only be used with cryptocurrencies that have such dataset within Bitfinex exchange like BTCUSD , ETHUSD , XRPUSD and a few more.
cryptoCryptocurrencycrytocurrencycrytpotradingcyrptotraderHistorical Volatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Appreciation of my work: paypal.me/dman103
Premium Pivot Points Algo Indicator: tradingview.com/script/LFBaHNuA-Pivot-Points-Algo/
LIVE Stream - Pivot Points Algo: youtube.com/channel/UCFyqab-i0xb2jf-c18ufH0A/live
Also on:

Disclaimer