Sounds good, but the automatic trend line is not easy to code. Drawing trend lines is not so difficult, but choosing one for trading is very difficult. At any given moment, there're more than one trend lines. We sometimes draw short-term line several bars apart, but some other times we draw long-term line 50 to 100 bars apart. Some people draw from congestion point to another, while others draw from lowest/highest point to another lowest/highest point. In brief, it's too subjective for computer to decide.
That's why we need to draw it manually. You have the freedom to define your own line whether it is flat, up, or down. And this EA will sit and trade the breakout for you.