Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

AutoSet SL TP - MetaTrader 5 Expert | Trading Script Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

Idea from: Vladislav Andryushenko

mq5 code: Barabashkakon

The EA sets a stop loss and a take profit. If the placement is successful, abort. In fact, this is a one-off EA, almost like a script. I just prefer having this feature in EA.

It only applies to the current symbol.

You can specify in its parameters: Stop Loss and Take Profit lots and the position type to which Stop Loss and Take Profit should be applied (Buy, Sell or both Buy and Sell). If modification of the position is allowed, the EA will force changes to Stop Loss and/or Take Profit. For example, it is allowed to modify a buy position and the stop loss is set in the parameters to be greater than zero, which means that in the buy position, the stop loss will change forcibly according to the stop loss input.


Attachment download

📎 autoset_sl_tp.mq5 (23.46 KB)

Source: MQL5 #23445

Verification code Refresh