OPEN-SOURCE SCRIPT

Futures/Spot Ratio

what is Futures /Spot Ratio?
Although futures and spot markets are separate markets, they are correlated. arbitrage bots allow this gap to be closed. But arbitrage bots also have their limits. so there are always slight differences between futures and spot markets. By analyzing these differences, the movements of the players in the market can be interpreted and important information about the price can be obtained. Futures /Spot Ratio is a tool that facilitates this analysis.

what it does?
it compresses the ratio between two selected spot and futures trading pairs between 0 and 100. its purpose is to facilitate use and interpretation. it also passes a regression (Colorful Regression) through the middle of the data for the same purpose.
about Colorful Regression:
Colorful Regression


how it does it?
it uses this formula:https://www.tradingview.com/x/WqSkZNFL

how to use it?
use it to understand whether the market is priced with spot trades or leveraged positions. A value of 50 is the breakeven point where the ratio of the spot and leveraged markets are equal. Values ​​above 50 indicate excess of long positions in the market, values ​​below 50 indicate excess of short positions. I have explained how to interpret these ratios with examples below.

https://www.tradingview.com/x/McLzvEAW
https://www.tradingview.com/x/SKhFJ6cp
https://www.tradingview.com/x/197T13M3
https://www.tradingview.com/x/YXDIKUh1

futuresOscillatorspremiumindexratioratiotradingstatisticalstatistics

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm