Modify stop loss or take profit – script MetaTrader 4

You can set SL and TP in pips from the actual price, or set SL and TP at specific price.

If you set SL or TP in pips it is preferred before price, so if you set pips and price together the script will set SL and TP according to the pip settings.

If you want to change only SL or only TP you set only SL or only TP in pip or price, other values with 0 will be ignored and not changed in opened orders.

📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks