A Prediction Model Using The Price Cyclicality Function Optimized for Algorithmic Trading in Financial Markets.