Trading with optimized uptrend and downtrend pattern templates using a genetic algorithm kernel
surveying stock market forecasting techniques - part ii : soft computing methods .