Help with S&R , Trendline EA

 
Hey, i want to know if it's possible to make an ea that will detect support and resistance levels as well as trendlines. If so, please guide me on how I can ho about creating one, thanks in advance
 
DroidM: detect support and resistance levels

Until you can state your requirements in concrete terms, it can not be coded.

 
William Roeder #:

Until you can state your requirements in concrete terms, it can not be coded.

A horizontal line that intersects between the high and close of candles, and the highs should be atleast 20 candles apart for resistance and lows for support, same goes for trendlines
What im confused is if it's possible to check if a horizontal line Crosses a candle, would it be possible to code something like that ?
Reason: