# Determine when the VIX has been lower than 10

The first step is to determine when the VIX has been lower than 10. In order to do so, we need to create a logical expression:

Vix<10

This creates a binary time series, returning 1 when the Vix is lower than 10, and 0 otherwise. This way we have created a time series that identifies when the VIX is lower than 10.