tartigradia

Williams Vix Fix OHLC candles plot indicator (Tartigradia)

tartigradia Aggiornato   
OHLC candles plot of the Williams VixFix indicator, which allows to draw trend lines.
Williams VixFix is a realized volatility indicator developed by Larry Williams, and can help in finding market bottoms.
Indeed, as Williams describe in his paper, markets tend to find the lowest prices during times of highest volatility, which usually accompany times of highest fear. The VixFix is calculated as how much the current low price statistically deviates from the maximum within a given look-back period.

The Williams VixFix indicator is usually presented as a curve or histogram. The novelty of this indicator is to present the data as a OHLC candles plot: whereas the original Williams VixFix calculation only involves the close value, we here use the open, high and low values as well. This led to some mathematical challenges because some of these calculations led to absurd values, so workarounds had to be found, but in the end I think the result was worth it, it reproduces the VIX chart quite well.

A great additional value of the OHLC chart is that it shows not just the close value, but all the values during the session: open, high and low in addition to close. This allows to draw trend lines and can provide additional information on momentum and sentiment. In addition, other indicators can be used on it, as if it was a price chart, such as RSI indicators (see RSI+ (alt) indicator for example).

For more information on the Vix Fix, which is a strategy published under public domain:

This indicator includes only the Williams VixFix as an OHLC candles or bars plot, and price / vixfix candles plot, as well as the typical vixfix histogram. Indeed, it is much more practical for unbounded range indicators to be plotted in their own separate panel, hence why this indicator is released separately, so that it can work and be scaled adequately out of the box.

Note that the there are however no bottom buy signals. For a more complete indicator, which also includes the OHLC candles plots present here, but also bottom signals and Inverse VixFix (top signals), see:
Set Index symbol to SPX, and index_current = false, and timeframe Weekly, to reproduce the original VIX as close as possible by the VIXFIX (use the Add Symbol option, because you want to plot CBOE:VIX on the same timeframe as the current chart, which may include extended session / weekends). With the Weekly timeframe, off days / extended session days should not change much, but with lower timeframes this is important, because nights and weekends can change how the graph appears and seemingly make them different because of timing misalignment when in reality they are not when properly aligned.
Note di rilascio:
Update:
* Fix logscale option creating negative values for the classical vixfix.
* Change default lookback period after empirical tests.
* Better functions documentation.
Note di rilascio:
Update:
* Change default lookback period to 50 after empirical tests.
* Added adaptive rescaling for price/vixfix but it isn't very useful.
Note di rilascio:
Update:
* add experimental Price/VixFix Oscillator, disabled by default
Note di rilascio:
Update:
* Add limits (upper, lower, neutral) for the stochastic oscillators, so that the graph is always properly scaled, even when adaptive rescaling to VixFix is enabled.
* Add VixFix Oscillator, an alternative to Stochastic VixFix (SVIX).
Note di rilascio:
Update:
* Add background highlight or bar highlight for stochastic oscillators variants of VIXfix (not to be confused with SVIX) and Price/VIXfix.
* Set log transform for Price/VIXfix by default again.
Note di rilascio:
Update:
* Invert colors for highlight of Price/VIXfix overbought/oversold condition to avoid confusion with other VIXfix based highlights. Now: green/blue = good time for an entry/long, especially when the highlight disappears, this acts as a confirmation. Red/yellow = good time to exit/short, especially when the highlight disappears, as this acts as a confirmation.
Note di rilascio:
Update:
* Fix typo: syminfo.ticker -> syminfo.tickerid , before we fetched the chart's symbol but potentially from another data provider than current chart, now we will use the exact same data as the chart.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?