Advisor cm_SL NL TP

The expert Advisor places all orders the currency pair on which it is installed, stop loss take profit and translates them to breakeven

Characteristic

Stoploss – stop loss in points
Takeprofit-stop loss in points

NoLoss – profit at which the order is transferred to breakeven (stop loss is placed on its opening price + – MinProfitNoLoss), if 0, there is no transfer to breakeven. Measured in points.

MinProfitNoLoss – minimum profit when transferring to a loss

Example:
We have a buy order open at 1.3879 the current Bid price=1.3871 (loss 8P)
The parameters of the EA:

Stoploss = 0
Takeprofit = 75
NoLoss = 10
MinProfitNoLoss=1
Advisor does nothing until the price reaches 1.3890 (11 p profit) is composed of the parameters NoLoss + MinProfitNoLoss
As soon as the Bid price = 1.3890, the stop loss will rise to the price of 1.3880
Next, the order will be closed either at the price of 1.3880 (profit 1P) or at the price of 1.3954 (profit 75p)

Cm SL NL TP
Cm SL NL TP
cm_SL-NL-TP.mq4
Version: 1.0
8.8 KiB
2024 Downloads
Details
Cm SL-NL-TP
Cm SL-NL-TP
cm_SL-NL-TP.mq5
14.5 KiB
331 Downloads
Details
Cm SL-NL-TP
Cm SL-NL-TP
cm_SL-NL-TP.ex5
13.6 KiB
285 Downloads
Details