Williams’ VIX Fix

One of our forum members requested an implementation of the Williams’ VIX Fix indicator for TOS. Larry Williams describes the simple creation of a synthetic VIX calculation for any single market or security in the December 2007 issue of Active Trader Magazine. The Williams’ VIX Fix (WVF) indicator, shown below, plots a volatility index for an individual ticker, unlike the CBOE VIX which is an aggregate of the S&P 500. The bands around the WVF are a 20 period Bollinger indicating extremes in the signal line. Also pictured are the ThinkScripter MultiStops with an Average True Range stop and the ThinkScripter Volume Profile which is nearing completion.

William's VIX Fix

William's VIX Fix

# TS_WilliamsVixFix
# (c) 2009 http://www.thinkscripter.com
# thinkscripter@gmail.com
# Last Update 30 AUG 2009

declare lower;
declare zerobase;
input period = 22;

plot WVF = (highest(close,period)-low)/(highest(close,period))*100;
WVF.setDefaultColor(color.white);

input BBlength = 20;
input BBNum_Dev_Dn = -2.0;
input BBNum_Dev_up = 2.0;

def sDev = stdev(data = WVF, length = BBlength);
def MidLine = Average(data = WVF, length = BBlength);
plot LowerBand = MidLine + BBnum_Dev_Dn * sDev;
plot UpperBand = MidLine + BBnum_Dev_Up * sDev;

LowerBand.SetDefaultColor(color.DARK_green);
UpperBand.SetDefaultColor(color.DARK_red);

LowerBand.SetLineWeight(2);
UpperBand.SetLineWeight(2);
This entry was posted in Indicator and tagged , , . Bookmark the permalink.

4 Responses to Williams’ VIX Fix

  1. David says:

    your work is truly amazing..
    thanks so much!

    • Fellow TS'er says:

      I must say, I too love the work here… I can only speak for myself but I CANNOT be the only one thinking… a new donation will be coming soon when that volume profile is ready for deployment!!
      I actually found your site by searching specifically for a form of volume on price for TOS a few weeks ago.

      Thanks and keep up the good work!

  2. carotids says:

    Bravo!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>