OPEN-SOURCE SCRIPT
BTC Longs/Shorts ratio by [VanHelsing]

BTC Longs/Shorts ratio
It is a sentiment indicator. It uses data from Bitfinex longs chart and shorts chart.
When ratio line going up it simply means most of the people from Bitfinex buying BTC when it goes down selling.
So in this way we know bull and bear presure
But it is only one exchange? Yes, but it is enough accurate for BTC, for ETH it is not so good.
How it works:
With request security function was called the closes of longs and shorts charts
and then with simple calculation was extracted a ratio of it and rescaled to make it easy to read.
When ratio line moves up it gradualy changing background from -1 to 1 from red to green and vice versa to understad what is a trend or a majore sentiment of people
After ratio was ploted, I created a smoothed ratio line with sma to extract signals from it buy and sell in a form of green and red circles.
How to read it:

It is a sentiment indicator. It uses data from Bitfinex longs chart and shorts chart.
When ratio line going up it simply means most of the people from Bitfinex buying BTC when it goes down selling.
So in this way we know bull and bear presure
But it is only one exchange? Yes, but it is enough accurate for BTC, for ETH it is not so good.
How it works:
With request security function was called the closes of longs and shorts charts
and then with simple calculation was extracted a ratio of it and rescaled to make it easy to read.
When ratio line moves up it gradualy changing background from -1 to 1 from red to green and vice versa to understad what is a trend or a majore sentiment of people
After ratio was ploted, I created a smoothed ratio line with sma to extract signals from it buy and sell in a form of green and red circles.
How to read it:
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。