MT4 Expert Advisor That Sets Take Profit and Stop Loss Automatically
Many trading systems and strategies use a fixed take profit and stop loss, so it’s convenient — and safer — to set them right away.
On Market Execution accounts (NDD, STP, ECN) you can’t set a stop loss or take profit when opening a position — only after the trade is open.
An Expert Advisor from the MQL4 Code Base can do it for you:

The EA is called SetUpProfitAndLoss.