Skip to main content

Williams VIX FIX with Bands for Amibroker (AFL)

HMS about 7 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker, oscillator

To be used as a supportive indicator along with price action and volume

Larry Williams introduced this synthetic VIX index to replicate the performance and insight of the Volatility Index of the market. Volatility Index of the market is derived from the implied volatility of options which is intended to reflect the greed and fear among traders.

Read more here: http://www.tradewithtrend.com/amibroker-afl-williams-vix-fix/

Indicator / Formula

Copy & Paste Friendly
Periods = 20;
Width = 2;
WVF = (HHV (Close,22) - Low)/(HHV(Close,22))*100;

sdev= Width*StDev(WVF,20);
midline=MA(WVF,20);
lowerBand = midline - sdev;
upperBand = midline + sdev;
Plot(upperBand,"",colorGrey40,4|styleDashed);
Plot(lowerBand,"",colorGrey40,4|styleDashed);
ph=0.85;
pl=1.01;

rangeHigh = (HHV(wvf, 50)) * ph;
rangeLow = (LLV(wvf, 50)) * pl;

mid=1;
Plot(midline,"",colorGrey40,4|styleDashed);
col = IIf(wvf >= upperBand,ColorRGB(270,0,150),IIf(wvf<=lowerBand,colorBlue,colorlightgrey));
Plot(WVF,"William VIX FIX", col,4|styleHistogram|styleOwnScale);

0 comments

Leave Comment

Please login here to leave a comment.