This is my latest incarnation of the original algo that inspired Pete Bakker's "The SPY Who Loves WVF" post.
Apply on daily interval. Buy orders are executed at EOD. Sell orders are executed next day at open.
Securities for Trading:
- XIV (risk-on asset)
- IEF (risk-off asset)
Securities for Data:
- VXX (used for calculating indicators)
Indicators:
- WVF = 100-day William's VIX Fix of VXX's daily close price
- Smoothed WVF 1 = 10-day EMA of WVF
- Smoothed WVF 2 = 30-day EMA of WVF
- RSI = 3-day RSI of VXX's daily close price
Buy Rules (buy XIV, sell IEF):
- If WVF crosses over Smoothed WVF 1 and WVF < Smoothed WVF 2, or
- If WVF crosses over both Smoothed WVF 1 and Smoothed WVF 2, or
- If Smoothed WVF 1 crosses over Smoothed WVF 2
Sell Rules (Sell XIV, buy IEF):
- If WVF crosses under Smoothed WVF 2, or
- If RSI crosses over 50
Take Profit/Stop Loss (XIV only)
- TP = +25%
- SL = -3%
Please feel free to comment and improve this algo. For collaboration request, please email: [email protected] and [email protected]