I'm looking for a simple EA that buys/sells when price goes above or below a moving average

 
Do you know where I could find one?
Also, that strategy doesn't work when the market is flat. Is it possible for an EA to recognize when a market is flat?
Thanks
 
In my opinion the best solution is to modify MACD Sample.mq4
 
how much do you want to pay for it?
 
RickD:
In my opinion the best solution is to modify MACD Sample.mq4

How do you think i can place stoploss in the MACD Sample