I just wanted to get some feedback from the community on a basic long-term algorithm I wrote.

The goal was to simply buy and hold (SPY) and predict/negate the effect of large market downturns (i.e. 2001, 2008, etc). I think I pretty well accomplished that but I'm not a professional, just a hobbyist at best, so I may be missing something glaringly obvious.

Any insights would be greatly appreciated :)

Author