hi all traders!
I really hope somebody can help me to obtain this type of script.
I am trying to find a very simple script which can replie my pending orders.
Let's make an example:
I will set a buy stop on eurusd at 1,1055 along with my stop loss at 1,1045.
If price execute my pending order and have a stop loss I want the script substitute the same buy stop to the identical price and using the identical stop loss.
I should place also how many time the script will replace buy cease until it get take profit.

I hope it's clear, cause I know that my english is very bad.
Thank you in advance