OPEN-SOURCE SCRIPT
Updated

XBT % Contango

2 472
Similar to my other indicators, but measures XBTUSD Contango in terms of percent.

Also, built it so you could change the values that give the red and green signals. Default values are 0% or less (backwardation) indicates green. However, i found that a 0.5% setting worked will finding local bottoms for current contract of XBTH20 (March 2020). The upper value default is at 5%, and signals red when the next contract reaches over 5%.

My assumption is as BTC increases in value over time, measuring contango in terms of percent will be a better measure of the XBT futures curve.
Release Notes
Update to add XBTU20 - September Futures
Release Notes
minor updates
Release Notes
Updated to included December futures XBTZ20
Also updated to version 4 pine script

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.