This library can calculate and plot trend lines for any time series, not only for its primary intended purpose of financial analysis. The calc_support_resistance function will calculate all support ...