- Pending order questions
- Library vs Individual Scripts
- Setting the time on MT4
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-
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.
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.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use