tartigradia

Williams Vix Fix OHLC candles plot indicator (Tartigradia)

tartigradia Mis à jour   
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.
Notes de version:
Update:
* Fix logscale option creating negative values for the classical vixfix.
* Change default lookback period after empirical tests.
* Better functions documentation.
Notes de version:
Update:
* Change default lookback period to 50 after empirical tests.
* Added adaptive rescaling for price/vixfix but it isn't very useful.
Notes de version:
Update:
* add experimental Price/VixFix Oscillator, disabled by default
Notes de version:
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).
Notes de version:
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.
Notes de version:
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.
Notes de version:
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

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?