tartigradia

Williams Vix Fix OHLC candles plot indicator (Tartigradia)

tartigradia 已更新   
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.
版本注释:
Update:
* Fix logscale option creating negative values for the classical vixfix.
* Change default lookback period after empirical tests.
* Better functions documentation.
版本注释:
Update:
* Change default lookback period to 50 after empirical tests.
* Added adaptive rescaling for price/vixfix but it isn't very useful.
版本注释:
Update:
* add experimental Price/VixFix Oscillator, disabled by default
版本注释:
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).
版本注释:
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.
版本注释:
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.
版本注释:
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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?