Breakeven script.

Usually, setting a stop loss implies 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 profitable place.

The breakeven script allows you to close a deal with a zero result, that is, after the price passes the number of points you specified towards profit, a stop order will be placed at the zero mark, which will work in the event of a reversal.

RECOMMENDED BROKER
the best choice at the moment

The tool is quite functional; in addition to its own stop, it also has settings for placing stop loss and take profit orders.

The script is, to some extent, an advisor, so after downloading, you copy it to the Experts folder, and in the trading terminal itself, do not forget to check all the settings necessary to launch the advisors.

As for the settings themselves:

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

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

ChangeTP - enable take profit .

CustomTP - take profit parameter in the form of a quote, for example 1.2535

TP_BE_plus_PIPs - when you set the previous parameter to 0, here you set the number of points added to the breakeven at which the take profit will work.

That is, for example, we set 50, which means the order will close with 50 points of profit. ChangeSL - enable stop loss .

CustomSL - desired stop loss value, set similarly to CustomTP

SL_BE_plus_PIPs - breakeven stop loss plus a certain number of points.

SL_BE_Distance - the stop distance that the price must travel, at least 3 points.

It should be noted that the script recalculates the parameters if an order is added or deleted; in order to use the tool for transactions in different directions, you should run two breakeven scripts but with different settings 0 and 1. To avoid confusion in the settings, you can set only the first two point.

Download the Breakeven script.

Joomla templates by a4joomla