编辑精选OPEN-SOURCE SCRIPT

TTP VIX Spy

已更新
TTP VIX Spy is an indicator that uses data from VIX to better time entries in the market.

The assumption used is that when the VIX is coming down from the top of its range then the risk on assets can move to the upside and when the VIX is is pushing higher there's a high likelihood or risk on assets going down.

This indicator observes the momentum of VIX using MACD. It offers two different signals both for longs and shorts: signal 1 and 2.

Signal 1 is activate when the begging of a new trend for the VIX is confirmed.
Signal 2 is activated when the VIX pulls back from an extreme value.

You can configure the parameters of the internal super trend and the look back for the slope applied to price and RSIs.

The indicator offers the following filter parameters:
- Price RSI slope: it filters signals that have RSI slope pointing in the opposite direction of the signal.
- Counter trend: it filters signals that are not counter trending super trend.
- Wide BBW: it filters signals that happen when there hasn't been high price volatility
- Price slope: it filters signals when the price is not pointing in the direction of the signal (buy: up, sell: down)
- VIX RSI filter: it filters VIX RSI values overextended. MACD can be in the right range, but sometimes RSI contradicts it. By default is OFF since it can cause false negatives.
- Working days only: it filters signals that occur in the weekend.

The colours below the price action show how the VIX momentum is changing. Transitions from red into pink and then green show how the fear is fading which tends to lead to lead to bullish moves, and the opposite when the transitions are from green to red.

Performance and initial thoughts.
I have tried VIX Spy on both BTCUSDT.P and ETHUSDT.P and it seems to offer a decent win ratio. As you can see I had to add many filter to remove bad entries and left toggles available to decide which ones you want to use.
I tried the signal in the 4H, 1H and 15min with mixed results. I tend to incline for the results in the 1H.

VIX signal offers a backtestable stream and alerts both for signals 1 and 2.
版本注释
name and chart fix
BBWBollinger Bands (BB)Moving Average Convergence / Divergence (MACD)Relative Strength Index (RSI)slopeVIX CBOE Volatility Indexvolatilityindex

开源脚本

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

想在图表上使用此脚本?


Join our membership to gain access to the private scripts.
thetradingparrot.com
更多:

免责声明