OPEN-SOURCE SCRIPT

Williams Vix Fix OHLC candles plot indicator (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:
Williams Vix Fix ultra complete indicator (Tartigradia)


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.
BARScandlecandlesohlcsentimentTrend AnalysisvixfixVolatility

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항