Hey Everyone!
For this Algo I wanted to construct a strategy that would:
- be as passive as possible
- have low draw down
In addition I took to heart the idea, perhaps dangerously, that "everyone is a genius in a bull market"
As a quick overview...
My code takes a user defined time period to establish a trend, fits a linear regression to the points in the time period, and then predicts a future price based on the regression. It does this multiple times and takes the majority expectation if the price will be higher. The order decisions are sorted by standard deviations, whether the volume confirms the trend directions, and what the long term trend is in the security ("bullish vs bearish sentiment").
I'm aware of a few issues in it, and I'd love some feedback. I've been a lurker for a bit and I'm excited to join in. Cheers!