How to Add a Global VIX Filter to the Beginning of an Automation

Let your bot scan the market for high volatility before entering new positions. Add a global VIX filter to any automation to quickly check if market volatility is above a defined level.
Kirk Du Plessis
Jun 10, 2021

Bots automate your strategies, which is great. But, what if you don’t want a strategy to run if market volatility suddenly spikes? Don’t worry; Option Alpha has you covered. You can easily add a global filter to any automation to define market conditions based on the VIX. Adding a VIX filter to the beginning of a scanner or monitor ensures the bot will reference volatility first before continuing through the automation.

Any automation can be modified to quickly add the decision recipe for comparing VIX properties. While it may not be necessary for all your positions, it is something to consider when building your bot if you are concerned about an unexpected event that could affect the entire market.

Automation editor with VIX decision recipe highlighted

In this video tutorial, we have a bot that uses RSI levels to potentially enter a swing trade. If RSI is below a defined level, a bullish put credit spread is opened. If RSI is above a defined level, a bearish call credit spread is opened. This video will show you how to precede the automation with a VIX filter so the bot doesn’t enter any positions if volatility increases.

Automation editor with "Precede with..." setting highlighted

The “Precede with” setting automatically sends everything that follows down a “Yes” path. So the automation will begin by confirming that the VIX is below 40 before advancing to the remaining recipes. If the VIX is above 40, the automation simply ends.

VIX decision recipe at beginning of scanner automation

This is a straightforward and creative way to add a VIX filter to the beginning of a scanner automation. The same decision recipe can also be added to a monitor automation. Using the same recipe, you can add a closing action to immediately close all positions if the VIX is above 40. 

Simply place the decision recipe before a repeater action, and the bot will check the VIX level first. Add a close position action if the VIX is above 40, and the repeater will ensure that all positions of a specific type will be closed.

VIX decision recipe at beginning of monitor automation with close position action

Thanks to the power of bots and detailed decision recipes, you can rest easy knowing that your automations will keep an eye on market volatility for you and take the appropriate actions based on current market conditions.

No tags found.
Related posts

Trade smarter with automation