codypd

UVXY Contango Rate - my quick and dirty indicator

Feel the force ... read the source.

Give you an idea of the contango headwind / backwardation tailwind that UVXY             is experiencing.

Works on Daily time frame only unless you buy the VIX             feed.
Remove from Favorite Scripts Add to Favorite Scripts
study("UVXY Contango Rate")
VIX = security("VIX", "D", close)
UVXY = security("UVXY", "D", close)

contangoRatio = UVXY/VIX
contangoRate = 1-(contangoRatio[1]- contangoRatio[0])
fastemaCR = ema(contangoRate,7)
slowemaCR = ema(contangoRate,27)

h0 = hline(1, color=white)

plot(contangoRate, color=gray)
plot(fastemaCR, color=white)
plot(slowemaCR, color=black)
bgcolor(slowemaCR > .996 ? red : blue, 60 )
Interesting...how do you use it?
Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out