I doubt anyone can really code an objective trendline system with programming. Give the same chart to 10 "pro charters", very likely all of them would draw different trendlines on the same chart.
For calculation kind of TA like moving average, at least you can try to prove it works in history or not.
For trendline kind of TA, there is no way to prove. It is like UFO kind of stuff.