First correctly detected sloping trendline by st13 Python package. The solution turns out to be elegant and easy. Solve a simultaneous log-linear equation, can be done in pure Python no need to import ...
A Python script that fetches stock data and generates interactive candlestick charts with automatic trendline detection using linear regression on local maxima and minima points.