HELP: Trend & horizontal line ea

[Deleted]  
Can some one give me the piece of code that i can add to my EA that would allow my EA to trade manually drawn lines, i already have the EA but i would like to add this feature.