Hey folks,
I've made a very simple algorithm that shorts the VXX only. The rules of the algorithm are as follows
- If current price is 1% over the 10 day moving average then short it.
- Once the current price is 1% over my cost basis then I close positon.
What I need to fix in this is the closing and opening algorithm. I noticed that the algo does terribly if there is a huge spike in volatility. Ideally I'm looking to adjust the entry rules where I wouldn't enter under extreme volatility as it appears thats where the majority of the drawdowns occur.
I appreciate all constructive feedback. This is my first algo on this forum.
Cheers..