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

AutoSLTP - MetaTrader 4 Expert | MT4 EA Download - MetaTrader 4 Resources

author EAcpu | 2 reads | 0 comments |

This EA will help you set Stop Loss and Take Profit on open positions (manual orders).

The EA can set Stop Loss/Take Profit for all pairs, you just need to attach the EA to one of the pairs.

In the input settings you can set a single pair or all pairs. If AllPairs = True, it means that the EA will manage all pairs. Simply attach to one chart and the EA will work on all currency pairs.

Name: AutoSLTP upd.mq4

 Enter double profit = 400 ; //40-->4 digits; 400-->5 digits
Enter double stop loss = 150 ; //15-->4 digits; 150-->5 digits

 sl purchase = normalized double (OrderOpenPrice()-iStopLoss*point,digi);
tp purchase = normalized double (OrderOpenPrice()+iTakeProfit*point,digi);
sell = normalized double (OrderOpenPrice()+iStopLoss*point,digi);
tps sales = normalized double (OrderOpenPrice()-iTakeProfit*point,digi);

Enter settings:


Attachment download

📎 autosltp_upd.mq4 (3.19 KB)

Source: MQL5 #14005

Verification code Refresh