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:
syot kilat

Trend Analysis

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian