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

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור