Well, the part with drawing the trendlines would be quite challenging to program, but it can be a semi-automated system.
The user draws a trendline, and whenever the price breaks it and then retests it, a trade will be opened with SL and TP (also set as parameters).
The EA would track the...