I thought this was an interesting finding... not suited for the competition, however. The algo seems to work well during a significant downturn, but can find itself in all the wrong trades when the market is not trending...
Basic idea is to calculate the zscore over 150 days and use that value to calculate allocation. I'm moving the zscore along the sin wave to scale from 2x leverage to 0.
Feel free to hack it up.
-Jamie