Backtesting alg. #3 changed to MA with thresholds

As discussed here:
https://bitcointalk.org/index.php?topic=60501.msg4292575#msg4292575
Currently 0.5 thresholds hardcoded for both buy and sell.