Simple EA needed - previous highs/lows

 

Hi,

Can someone help me with an EA that will open a buy/sell order if the price hits the previous candles high/low?

I use the h1 chart and would ideally like to be able to set stop loss, take profit and possibly trailing stop with the EA. Even more beneficial would be an option to set how many pips away from the previous high/low trades should be entered.

Thanks,

Rich.

Reason: