I am going to start taking requests to open source my indicators and they will also be updated to Version 4 of Pinescript.
I added some features to the original code such the ability to smooth the oscillator and select the look back periods for the historical volatility.
Link to original:...
This looks at he VIX and trades SVXY. Load SVXY and run the script on SVXY.
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...
Works best as an intraday indicator
Background black & line green = Long VIX
Background black & red line = No trade
Background orange & line green = Consider selling
Background orange & line red = Short VIX