Maybe a stupid question but..

 
How do you remove a stop or limit on an order? Seems like you can only modify or delete the order but not remove the stop or limit once set.
 

As you say, the UI wont do this, but an OrderModify might work in code - set SL & TP = 0

Not done it myself - its an... unusual requirement?

Whats the logic behind it?

Would widening SL/TP do?

-BB-

 
BarrowBoy wrote >>

As you say, the UI wont do this, but an OrderModify might work in code - set SL & TP = 0

Not done it myself - its an... unusual requirement?

Whats the logic behind it?

Would widening SL/TP do?

-BB-

Thanks BB. I tried to modify the order with NULL and 0 but it didn't work. The reason I want to do this is because sometimes I just want to be able to have that option should I change my mind or just want to clear the chart of all those lines. Seems odd this is not a simple thing to do.

 
mqldelta wrote >>

Thanks BB. I tried to modify the order with NULL and 0 but it didn't work. The reason I want to do this is because sometimes I just want to be able to have that option should I change my mind or just want to clear the chart of all those lines. Seems odd this is not a simple thing to do.

Sorry NULL and 0 works to remove the stops. I had coded wrong.

Reason: