This looks at he VIX and trades SVXY. Load SVXY and run the script on SVXY.
INPUTS:
Entry - You set this number to how high you want the VIX to go before SVXY will be bought. Keep in mind it buys the bar after a trigger, results may be confusing
Exit - You set this number to how low you want the VIX to go before SVXY will be sold.
Year - This as stated, It will start trading on the year you set here.
Good luck.
This script is for learning purposes, and boy did I learn something. UVXY still sucks