Can I program an EA to do this?

I would like to program an ea that would move the stop loss to the break even point once profit has hit a certain point but not move the SL, ever. In other words, I set an entry order to go short, market moves and enters the trade with a 40 pip stop loss, once the market moves so that I have a 40 pip gain the SL moves to break even but doesn’t move again. A trailing stop continues to move but I don’t want that.

Try this EA , change the setting. Do try it on demo first!
http://forums.babypips.com/expert-advisors-automated-trading/23184-2-ea-very-same-pair.html#post106974

Jado