better trend following algorithm and constants.
Merge remote-tracking branch 'upstream/master' into trend2

Conflicts:
	lib/main.js
Merge pull request #6 from Titousensei/trend2

Better trend following "double exponent smoothing" algorithm and constants.