codypd

UVXY Contango Rate - my quick and dirty indicator

209 1 19
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
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out