I'm always looking to automate things. I do this because if the computer says so, it does so without either hope or fear. The computer doesn't care if its right or wrong, so it won't be tipping the scales in either direction.
I never was able to come up with satisfactory rules for drawing trendlines that I could automate, but for sure markets do tend to trend, and the lines help us to see the pressure points (and/or the decision points) more effectively. If I could automate it, then I could feed the results to my ML algorithm, and it could assess the likelihood of support or resistance holding at each junction. Wouldn't that be fun?
My ML code has RSI already built-in. And moving averages. And a bunch of other things.
Part of the process would involve drawing the lines as a timeseries played forward, and seeing how effectively the lines proved as forecasters of where prices tended to peak or trough.