Better trend following algorithm and constants.

After some experiments, it was obvious that the long-term trends were not working. This patch implements a "double exponent smoothing", which is designed for trend following and forecasting ( http://en.wikipedia.org/wiki/Exponential_smoothing ). Also logged values for 5 tickers overnight and imported into spreadsheet for experiments with the constants.