A dynamic trading rule based on filtered flag pattern recognition for stock market price forecasting. (15th September 2017)