Skip to main content

UVXY and SVXY Charts 24 Hours a Day

Did you know you can actually calculate and plot the values for SVXY and UVXY any time of day or night as long as VIX futures are trading? I went through a complicated explanation here so you can do it yourself and understand what goes into the calculations.

Once you understand the calculation though, a simple shortcut is to use an index ticker known as SPVIXSTER. This is available on most trading platforms as well as Google and Yahoo quotes. An even nicer trick is that you can create a ThinkorSwim Thinkscript to plot the value you for you overnight!

Basically SPVIXSTER is telling you the relative value of the 30-day weighted VIX future. The fund values of UVXY and SVXY are also available in realtime with the ticker UVXY.IV and SVXY.IV (or some variation thereof, depending on your specific broker). Now, although the fund values are not available after the 4:15 close, SPVIXSTER is reported around the clock as long as VIX futures are trading. See where I'm going with this?

By creating a script that calculates the SPVIXSTER change from yesterday and applies it against the last known values of UVXY and SVXY, you can calculate and update your own values for these tickers in realtime, even at midnight. Of course you still can't trade them overnight, but knowing where the values are based on VIX futures overnight can give you some idea on how to plan your next trade or where to open or close your next position, or keep better tabs on your margin requirements.

Below are my Thinkscripts for both UVXY and SVXY. To use these if you are not familiar with Thinkscript, follow these directions on ThinkorSwim:

1. Click on the little studies icon at the top of a chart of your choice
2. Click Edit Studies...
3. Click Create...
4. Give it a new name that makes sense to you (ex: UVXYAfterHours)
5. Cut and paste the code below into the big lower box
6. Click OK

It should now be visible on the lower part of your chart along with any other indicators you may have there.

Thinkscript for UVXY overnight chart:


## UVXY Overnight Calculator. Version 2.0
## This script is free to use.
## Created by Eric Vymyslicky
## http://vixworkshop.blogspot.com
## Unfortunately the previous version of this script

## did not pull the correct close for $SPVIXSTER
## In order to use this properly,

## you must manually input the 4:15ET close of $SPVIXSTER each day.
## Data is only available when $SPVIXSTER is available, 

## usually 7PM-3:30PM ET
declare lower;
input SPVIXSTERclose = 47.72;
def closingUVXYIV=close("UVXY.IV",period="DAY");
 

def AGG = getaggregationperiod();
def currentfuture = close("$SPVIXSTER", period = AGG, priceType = PriceType.LAST);

def yesterdayfuture = SPVIXSTERclose; 
def doublechange = (((currentfuture / yesterdayfuture) - 1) * 2) + 1;
def CurrentUVXY = doublechange * closingUVXYIV;

plot UVXYIVAH = CurrentUVXY;

UVXYIVAH.AssignValueColor(Color.GREEN);



Thinkscript for SVXY overnight chart:

## SVXY Overnight Calculator. Version 2.0
## This script is free to use.
## Created by Eric Vymyslicky
## http://vixworkshop.blogspot.com
## Unfortunately the previous version of this script

## did not pull the correct close for $SPVIXSTER
## In order to use this properly,

## you must manually input the 4:15ET close of $SPVIXSTER each day.
## Data is only available when $SPVIXSTER is available, 

## usually 7PM-3:30PM ET

declare lower;
input SPVIXSTERclose = 47.72;
def closingSVXYIV=close("SVXY.IV",period="DAY");

def AGG = getaggregationperiod();
def currentfuture = close("$SPVIXSTER", period = AGG, priceType = PriceType.LAST);
def yesterdayfuture = SPVIXSTERclose;
def inversechange = (1/currentfuture) * yesterdayfuture;
def CurrentSVXY = inversechange * closingSVXYIV;

plot CurrentCaluclatedSVXY=CurrentSVXY;
CurrentCaluclatedSVXY.AssignValueColor(Color.GREEN);



HINT: If you don't want to see yesterday's closing price on the chart just delete the second line that begins with "plot" and the last line.

You will need to change the value for $VIXSTER every day. Just identify the 4:15pm ET close and use that as the value for SPVIXTERclose.

Updated November 30, 2017 with new version of the script that more accurate calculates overnight values.

Enjoy and Happy VIX Trading!

Comments

Popular posts from this blog

The VXST:VIX Ratio – Knowing when a VIX spike is out of steam

November 9, 2017 – Today was a terrific day for trading volatility. Plenty of money could be made on both sides of the trade, and unless you got greedy, everyone left happy. Today was also a textbook example of an indicator I like to use to identify VIX tops: the VXST:VIX ratio. I mentioned it briefly in my last entry, but I'll expand on it a little today. Without going into mathematical definitions, VXST is VIX's jumpier, angrier baby brother. If you know the simple definition that VIX is the expected volatility over the upcoming 30 days, VXST is the equivalent for the upcoming 9 days. Think of it as volatility with an even shorter time horizon than VIX – kind of like zooming in on the next few days. It tends to rise faster than VIX, and drops faster than VIX. The VXST:VIX ratio is just a simple way of telling us which value is greater, and by how much – VXST or VIX. The normal state of a healthy, up-trending market is that VXST is lower than VIX, similar to the way...

2017: Trading for Dummies

2017 was the year that volatility died. No other year even comes close to the number of low VIX readings in the 8's and 9's. Records continued to be set in 2017 and each time VIX spiked just a little bit, baseline volatility settled to an even lower level afterward. Even the VIX high for the year was minor by historical standards. During a brief August pullback, VIX hit a high of 17.28. For perspective, there have been some years where the VIX would never have dropped below that level. The index has not been above 20 since the 2016 election.  2017 Weekly VIX Chart. Nothing to see here. Looking at the SPX, the low for the year happened on January 3, the first day of trading. The high happened less than 2 weeks ago on December 18. There's been a very steady march upward all year, broken only briefly by minor pullbacks. Those waiting for lower prices to get in were repeatedly left behind and bears were nowhere to be found. Even the brief August spike in volatility...