William Vix Fix indicator and WVF Stochastic

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

William Vix Fix indicator and WVF Stochastic

Postby Alexander.Gettinger » Tue Aug 07, 2018 12:19 pm

William Vix Fix indicator:

William’s VIX Fix is a synthetic VIX (CBOE Volatility Index) calculation which can be used in any market to mimic the performance (but not the quotes) of the well-known volatility index (the WVF is not based on option’s implied volatility but derived from historical and intraday prices only).
William’s original formula:
WVF = [Highest (Close,22) - Low) / (Highest(Close,22)] * 100

WVF.PNG


Download:
WVF_JS.jsl
(1.91 KiB) Downloaded 498 times


WVF Stochastic:

Formulas:
K = 100*mins/maxes,
D = MVA(K) with [Stochastic_D_Length] number of periods, where
mins = WVF - minLow,
maxes = maxHigh - minLow,
minLow, maxHigh - minimum and maximum values of WVF at range from (i-Stochastic_K_Length+1) to (i),
WVF = 100*(Max-Low)/Max,
Max - highest close price at range from (i-WVF_Length+1) to (i).

WVF Stochastic.PNG


Download:
WVF Stochastic_JS.jsl
(3.48 KiB) Downloaded 473 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 13 guests