I tried this simple algo based on linear regression coefficients for five days, and compared the performance to the real stock performance on Google Finance. I found that it captures the overall trend: the return rises significantly during the two periods Nov 16-19 and Dec 28 - Jan 1 which correspond to the price rise. It seems, though, that the algo doesn't have a good volatility control. Any comments are enthusiastically welcomed.