OPEN-SOURCE SCRIPT

Williams Vix Fix Bottoms and Tops

已更新
This indicator uses the very popular Williams Vix Fix for Bottoms by Chris Moody but not only does it search for bottoms, it can also be switch to work for tops for those who look to short the market. I've also added in a few options like flipping the indicator, color adjustments on the settings page, as well as cut a few of the options I feel did not need to be in which cluttered the screen when the settings were opened. In his later revisions of the Williams Vix Fix, CM took out the functions which draw the high/low ranges as well as the standard deviation which is what this indicator uses to show entry points. I have added options back on to draw these, I think it's useful. To be honest, I have not messed around with the number settings much so I am not sure how adjusting the look back range or going for smaller / bigger percentage changes would change how well the indicator works. It seems to work very well at its default settings.

With the Bollinger Band deviation, you have to remember that it looks back at the set amount of candles (20 by default) and uses those for the standard deviation: 1 dev = 68%, 2 dev = 95%, 3 dev = 99.7%
These percentages mean that at 2 dev, 95% of the last 20 candles will remain within the boundaries of the Bollinger Bands. Three tends to be too high, one is usually too low. Two is pretty good.

The lowest percentile option probably won't change much other than bring up the bottom line which doesn't effect the alerts or signals, just something to observe.
The highest percentile option makes a difference similar to the stand deviation and Bollinger Band. The higher you put it, the less likely it will get triggered but the more reliant it of a signal it should be.

As always, I have left notes throughout the code and I did leave in the code that was original but commented it out as I don't believe it's worth having.
I like to have the high/lows drawn, as well as the standard deviation. Then I find that the filtered entries are most accurate signals to follow. Simple entry is hit or miss, Aggressive entry is always early but sometimes that's not a great thing.
版本注释
Added a few options:
- You can now create an alert for when the bars bars on the indicator change from gray to green! This alert can also be triggered based on the number of green bars in a row.
- Added an integer input value that controls the number of green bars required to trigger an alert. This value is at the bottom of the settings for the indicator. It will be set to a default of 1 meaning only one green bar will be required to appear after a gray bar for an alert to be triggered. If set to 2, then two green bars in a row need to appear after a gray bar for the alert to be triggered, and so on.
bottombottomsFIXStandard DeviationTOPTOPSVIX CBOE Volatility IndexWilliams %R (%R)

开源脚本

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

想在图表上使用此脚本?

免责声明