Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Script | Modify SL TP

This script is used to modify the Stop Loss and Take Profit of current symbol positions.

The new Stop Loss and Take Profit are based on the market price.

If the inputs are 0, there will be no modification.

It is useful to update all positions with the same SL/TP.

MetaTrader Experts, Indicators, Scripts and Libraries

Update: 2019-8-7

Modify_SL_TP   ---  it has a bug and corrected,please update.
Modify_SL_TP_With Price --- it is newly added

Modify_SL_TP_ALL_Symbol --- it is newly added.

1. Modify_SL_TP:   It is used to modify the Stop Loss /Take Profit of current symbol positions,the input are in pips.

2. Modidy_SL_TP_With_Price :  It is used to modify the Stop Loss /Take Profit of current symbol positions,the input are in price instead of pips.

3. Modify_SL_TP_ALL_Symbol.mq4 :  It is used to modify all orders and pending orders of all symbols, the inputs are in pips.

18011

Best MetaTrader Indicators + Profitable Expert Advisors