The script is breakeven.

Typically, setting a stop loss means closing a position at a loss, but why lose money if the price has entered the breakeven zone? You can move the stop to a more advantageous place.

The breakeven script allows you to close a trade with a zero result. This means that after the price moves a specified number of points toward profit, a stop order will be placed at zero, which will be triggered in the event of a reversal.

The tool is quite functional. In addition to its own stop, it also has settings for setting stop-loss and take-profit orders.

The script is, in a sense, an expert advisor, so after downloading, copy it to the "Experts" folder. In the trading terminal itself, be sure to check all the settings required to run expert advisors.

Regarding the settings themselves:

Magic - 0 for all orders or a specific order number.

Direction - if 0, breakeven is set only for buy orders, and if 1, for sell orders.

ChangeTP - enables take-profit .

CustomTP - the take-profit parameter as a quote, for example, 1.2535.

TP_BE_plus_PIPs - when setting the previous parameter to 0, this sets the number of points added to breakeven at which the take-profit is triggered. For example, setting 50 means the order will close with 50 points of profit.

ChangeSL stop-loss modification .

CustomSL is the desired stop loss value, set similarly to CustomTP.

SL_BE_plus_PIPs is the breakeven stop loss plus a specified number of pips.

SL_BE_Distance is the stop loss distance the price must travel, at least 3 pips.

Please note that the script recalculates the parameters if an order is added or removed. To use the tool for trades in different directions, you should run two breakeven scripts, but with different settings: 0 and 1. To avoid confusion, you can set only the first two options.

Download the Breakeven script.

Joomla templates by a4joomla