Numerical trendline algorithms for technical analysis of financial securities.