rumpypumpydumpy

XBT Contango / Backwardation Index [ rumpypumpydumpy ]

Experimental idea calculating the momentum of contango/backwardation of spot/perp vs futures as an index. Basically the "RSI" of C/B. Histogram displays the ratio of C/B vs chart close. Multiplier is arbitrary and just to be able to "magnify" the histogram to a visible level.

Has some interesting divergences and as well as ratio trends, zero line cross overs as well as upper and lower CBI/bollinger interactions.

I haven't looked at it properly, but I suspect due to the generally low fluctuations relative to price, intraday will probably be less and less useful as you go to shorter time frames. Most likely useful for higher TFs and could possibly even indicate tops/bottoms on higher TFs, eg significantly high and highest recent ratio + CBI divergence + CBI/BB upper/lower band touch/breach.

In general it seems to be that the higher the ratio the more likely the divs are to be valid.

By default it has the bitmex index as the future's tickerid (which doesn't produce anything useful). You WILL need to add the rest of the tickerid for the futures contract you wish to use - ie BITMEX:XBTM19

Note that due to nonexistent data on the contracts' open, the first x candles (default length is 14) will be inaccurate and you should use the previous contract's data for at least that period.


---------------------------------------

If you find it useful please consider a tip/donation :

BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?