ninjatrader/strategies/vol-panics/README.md

78 lines
3.4 KiB
Markdown

# Vol Panics
This strategy was taken from chapter 5 of [*Buy the Fear, Sell the Greed*](https://moshferatu.dev/moshferatu/buy-the-fear-sell-the-greed) (2018) by Larry Connors.
## Rules
1. When VXX is trading above its 5-period moving average and its 4-period RSI is > 70, enter a short trade.
2. (Optional Aggressive Entry) If VXX closes higher than the initial entry price at any point during the trade, enter a second short trade.
3. Exit the trade if VXX closes under its 5-period moving average.
### 2-3-5 Scale-In Version
This version of the strategy enters up to 3 trades:
1. The initial entry according to the original rules but with 20% of the total position size.
2. An entry with 30% of the total position size if VXX closes higher than the initial entry price at any point during the trade.
3. A final entry with 50% of the total position size if VXX closes higher than the second entry price at any point during the trade.
The exit condition remains the same as in the original version of the strategy.
### 1-2-3-4 Scale-In Version
This version of the strategy enters up to 4 trades:
1. The initial entry according to the original rules but with 10% of the total position size.
2. An entry with 20% of the total position size if VXX closes higher than the initial entry price at any point during the trade.
3. Another entry with 30% of the total position size if VXX closes higher than the second entry price at any point during the trade.
4. Finally, an entry with 40% of the total position size if VXX closes higher than the third entry price at any point during the trade.
The exit condition remains the same as in the original version of the strategy.
## Parameters
**Moving Average Period**: The period used in the simple moving average calculation. (Default: 5)
**RSI Period**: The period used in the RSI calculation. (Default: 4)
**RSI Smoothing**: The smoothing used in the RSI calculation. (Default: 1)
**Entry Threshold**: The RSI value above which to enter the short trade. (Default: 70)
**Enable Aggressive Entries**: Whether to enter an additional aggressive trade if conditions are met. (Default: true)
For the 2-3-5 and 1-2-3-4 scale-in versions of the strategy, the **Enable Aggressive Entries** parameter is replaced by the following parameter:
**Total Position Size**: The total size of the position (in dollars) to be divided amongst the entries. (Default: 1000)
## Backtest Results
### /VX
Note that these backtests were performed on /VX (VIX futures) rather than on the VXX ETF.
This is because the data feed I am using had very limited data available for VXX.
#### Original Strategy
![/VX Analysis](https://static.moshington.com/images/strategies/vol-panics/vx-analysis.png)
![/VX Summary](https://static.moshington.com/images/strategies/vol-panics/vx-summary.png)
#### 2-3-5 Scale-In
![/VX 2-3-5 Analysis](https://static.moshington.com/images/strategies/vol-panics/vx-analysis-235.png)
![/VX 2-3-5 Summary](https://static.moshington.com/images/strategies/vol-panics/vx-summary-235.png)
#### 1-2-3-4 Scale-In
![/VX 1-2-3-4 Analysis](https://static.moshington.com/images/strategies/vol-panics/vx-analysis-1234.png)
![/VX 1-2-3-4 Summary](https://static.moshington.com/images/strategies/vol-panics/vx-summary-1234.png)
Hopefully these results demonstrate why you must be extremely careful when shorting volatility.
A better way to trade this, which the book mentions, is by buying deep in-the-money puts instead.
---