Modify Order SL TP
The utility places stop loss and take profit for opened orders.
It is necessary to allow automated trading in the terminal settings.
- magic - magic number. If less than 0, orders with any magic number are processed.
- only_this_symbol - only chart symbol. If false, orders of any symbols are processed.
- Take_Profit - take profit (TP). If the value is less than 0, then TP does not change. If the value equal to 0, TP is nullified (removed);
- Stop_Loss - stop loss (SL). If the value is less than 0, then SL does not change. If the value equal to 0, SL is nullified (removed).