OPEN-SOURCE SCRIPT

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

已更新
Legend:
- 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)
- 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 reaches the alert level detailed in LazyBears indicator. (tradingview.com/script/2gNjWqnv-BBImpulse-Indicator/)
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 the squeeze.
The idea is that both Williams Vix Fix + Bollinger Bands and Relative Volatility Index both already give the main volatility bottom and top so combining them to compare and validate the signals makes sense. (Note: Bottom signal is more accurate than top). In addition, I added the squeeze to show the potential breakout pressure and to compliment bottom and top signals.

For ideas on how to continue this work :
I encourage ideas to combine the Williams Vix Fix and Relative Volatility Index for volatility top and bottom (with probability would be awesome)
And I encourage ideas to filter Keltner Channel Volatility Squeeze using both the BBW or %B or other volatility squeeze indicators or a combination of all of them.

Also, I encourage people to post their top parameters for the BBW and %B to filter the Keltner Squeeze in the comments or to send me them by chat relative to this indicator.
Half the battle is making the indicator, while the other half is tuning the parameters.
The current parameters are one of the least aggressive, and act as a mild filter.

Note: You can also change the threshold for RVI top and bottom.
And this work builds on my last indicator:
Williams Vix Fix + BB & RVI (Top/Bottom) & Squeeze


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.
發行說明
Corrected the Bollinger Band standard deviation bug from original Squeeze script.
發行說明
Update chart
發行說明
Clean up and organize the script.
發行說明
Cleanup script
發行說明
Added parameters and parameters groups, and rename some parameters for clarity.
發行說明
Clean up and organize code
bbwsqueezeBollinger Bands (BB)percentbRelative Volatility Index (RVI)squeezeVolatilitywilliamsvixfix

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明