The Mathematics of Technical Analysis: Applying Statistics to Trading Stocks, Options and Futures