Need Help: Script for few pending order created in time

Dear all,
I have try to search to look for the script about create pending order and try those script but not what I prefer to. Here is my ideal for the script.

Current market price EU: 1.24000
Lot size of pending oder: 0.01 lot (variable)
How many orders to create: 5 (variable)
How many spread for each order: 10 pips (variable)
Starting pending order price: 1.24500 (Example Sell position: 1.24500, 1.24600, 1.24700, 1.24800, 1.24900)
Stop limit: 1.25000 (with price value, not in pip)
Target Profit: 1.24300 (with price value, not in pip)

When the EU price start move up and hit let say 1.24500, 1.24600 and 1.24700, the EU price reversed but there still 2 pending orders no executed, so I also need a script that can delete all the “current pair” pending order but not other pair currency.

Hopefully here have any one help me to create it or if there have any link with same ideal, please provide it to me as well. Million thanks to him/her.

Anyone please???