Online PHP application that identifies linear trendlines in financial time series