I need to put the following inputs and the trade is placed automatically:
1) Trade time
2) Buy Stop Price = Price at trade time + number of pips (input is the number of pips)
3) Take profit for the buy stop order = number of pips
4) Stop loss for the buy stop = number of pips
5) Sell Stop Price = Price at trade time + number of pips (input is the number of pips)
6) Take Profit for the Sell stop = number of pips
7) Stop loss for the Sell Stop = number of pips
8) Trade Size
Final thing when one position is triggered the other is deleted.