Autoset SL EA for MT4

TopFroxx

Well-Known Member
hey guys. i am looking for an EA for mt4 that automatically sets a SL of X pips on a positon the moment the position is opened.

i googled a bit but so far i only found some really old ones and people are complaining about them being slow AF. does anyone have a realiable and fast one by any chance?

cheers
 

Computater707

Well-Known Member
TopFroxx said:
hey guys. i am looking for an EA for mt4 that automatically sets a SL of X pips on a positon the moment the position is opened.

i googled a bit but so far i only found some really old ones and people are complaining about them being slow AF. does anyone have a realiable and fast one by any chance?

cheers
This is called MPTM- Multi Purpose Trade Manager. One of the things it will do is add a stop loss when a trade is opened. I have used older versions to do this. Read the instructions and Test this on demo to be sure you understand how to use it and that it is compatible with your broker before you use it on live trades.


http://www.stevehopwoodforex.com/phpBB3/viewtopic.php?f=21&t=64
 

rod178

Well-Known Member
TopFroxx said:
hey guys. i am looking for an EA for mt4 that automatically sets a SL of X pips on a positon the moment the position is opened.

i googled a bit but so far i only found some really old ones and people are complaining about them being slow AF. does anyone have a realiable and fast one by any chance?

cheers

imho an EA is not an efficient way to accomplish what you are trying to achieve, as the EA would have to 'fire' continuously (eg on each tick) to ensure that the SL was set. Additionally, only one EA per chart, so that it would also use up the 'allocation'.


The better approach is to open positions (single or multiple, immediate or pending) with scripts, which have the SL and TP built into the code.

The code for this is very simple. If what I've described seems suitable, let me know and I'll post some code.
 

TopFroxx

Well-Known Member
thanks guys. now that i think about it a script actually does sound better. do you know one where you can preset lotsize as well as a SL in terms of pips? it would not be a problem to do this within the code since what i would like to do is to put it on a hotkey and for it to immediately execute without the "input window" popping up (i dont know what more clever ways around this thing popping up there are). ideally i would need 2 scripts then, one buy and one sell script. do you have something like that, rod?

cheers
 

rod178

Well-Known Member
TopFroxx said:
thanks guys. now that i think about it a script actually does sound better. do you know one where you can preset lotsize as well as a SL in terms of pips? it would not be a problem to do this within the code since what i would like to do is to put it on a hotkey and for it to immediately execute without the "input window" popping up (i dont know what more clever ways around this thing popping up there are). ideally i would need 2 scripts then, one buy and one sell script. do you have something like that, rod?

cheers

The attached two simple script's code is self explanatory, so you should be able to modify to your individual requirement(s).
 

Attachments


Top