Moving average EA

Hi All.

I am finding it difficult to find an ea that buys or sells when price opens above or below a moving average.

For example.

Price opens above 5 EMA , or 20 SMA etc etc and a buy position is opened.

Price opens Below 5 EMA , or 20 SMA etc etc and a sell position is opened.

Other options include the ability to set trailing stop loss and also move stop loss to break-even plus 1 pip then every 5 pips thereafter when price moves a further 5 pips.

Appreciate any help. Thanks.