OPEN-SOURCE SCRIPT

Williams Vix Fix BB + RVI + LinReg & Squeeze (Keltner) BBW + %B

已更新
Legend:
Entery signal: When line color turns to lime (lighter green) after a blue dot appears
Exit signal: When line color turns to red (darker red) after a red dot appears
Note: it is more affective as an entry signal (Bottom is stronger)

- When line touches or crosses red band it is Top signal (Williams Vix Fix)
- When line touches or crosses blue band it is Bottom signal (Williams Vix Fix)
- Red dot at the top of indicator is a Top signal (Relative Volatility Index)
- Blue dot at the top of indicator is a Bottom signal (Relative Volatility Index)
- Gray dot at the bottom of indicator is a Keltner Squeeze signal (filtered by either BBW or %B)
- Silver dot at the bottom of indicator is a weaker Keltner Squeeze signal (Doesn't meet either BBW or %B filter)
- Purple is a 'Half Squeeze' only 1 Bollinger Band crossed the Keltner Channel

This is an attempt to make use of the main features of all 6 of these Volatility tools:
- Williams Vix Fix + Bollinger Bands
- Relative Volatility Index (RVI)
- Linear Regression (detects Vix Fix starts to rise or fall to a certain degree in order to help validate bottom/top)
Note : There is also added precision on Linear Regression entry by dividing WVF by square roots of basis.

- The crossing of Keltner Channel by the Bollinger Bands (Squeeze)
Conditions to Help Filter Keltner Squeeze:
- When the Bollinger Bands Width (BBW) value is lower than the lowest value within a period plus a margin of error (percentage)
- When the %B value goes up or down by the impulse value (threshold value in setting) detailed in LazyBears indicator. (tradingview.com/script/2gNjW...)
If it meets one of these 2 filters and there is a Keltner Channel Squeeze than gray color or else if the squeeze doesn’t meet one of the 2 filters than silver color (weaker Squeeze).

The goal is to find the best tool to find bottoms and top relative to volatility and filter squeeze.

Note: You can also change the threshold for RVI top and bottom.
And this work builds on my last indicators:
- Williams Vix Fix + BB & RVI (Top/Bottom) & Squeeze (tradingview.com/script/vazpnOac-Williams-Vix-Fix-BB-RVI-Top-Bottom-Squeeze/)
- Williams Vix Fix BB + RVI & Squeeze (Keltner) filtered BBW + %B (tradingview.com/script/FOb64UOG-Williams-Vix-Fix-BB-RVI-Squeeze-Keltner-filtered-BBW-B/)

If you have ideas on this work or have ideas on potential combinations please message me, I always want to learn or get perspective on how it can be improved.
Sharing is how we get better (Parameter tuning, ideas, discussion)

I don’t reinvent the wheel, just trying to make the wheel better.
版本注释
Clean up
版本注释
Clean up
版本注释
Prevent division smaller than 1 for Square Root (Linear Regression)
版本注释
Put dark green instead of green to make the lime green color more apparent.
版本注释
Update Chart
版本注释
Remove the Division by Square Roots (it was just a smoothing method) and replaced it with a Hull MA which is cleaner and produces the same results (better than without smoothing).
So now the Linear Regression (Vix Fix rise/fall) is smoothed with a Hull MA.
版本注释
Clean up script
版本注释
Clean up
Keltner Channels (KC)Relative Volatility Index (RVI)Volatilitywilliamsvixfix

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明