How to repeat trade automatically in MetaTrader4 or 5 ?

 
Hi, 
I am using Meta-trader 4.I want to create an EA which continue to repeat order if the previous one is hit in loss. 

Further explanation : suppose i put a buy or sell order in GBP-USD (for instance) at a certain price and stop loss and profit limit are specified.Market executes the order and the stop loss is hit.I want to have an EA that creates the exact same order the moment stop is hit. 
OR 
is there an EA already available for this function? 

thanks
 

I am not sure that I undertand ...

1. Market. You can try to search in the Market using this search link for example. There is good search feature in the Market service so you can select some free product (free trade copier for example, using this link).

2. Freelance. You can make an order for the coder to program it (if it is possible to program).