I am still very sceptical that algorithms can beat market index on a long run. I am yet to find an algorithm that consistently beats the market (in bull and bear periods). This particular algorithm which uses mean reversion lost more than 60% since January 2015. Any clues how parameters in this algorithm can be tweeked to better the performance.