Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Least Square Best Fit Trend Line.

Wouldn't a least squares best fit to a trend line work better for one, three, and six month time periods?