Statistics for An online learning algorithm for technical trading