Can anyone edit this EA to automatically set a SL?

thread: Can anyone edit this EA to automatically set a SL?

  1. #1
    Member Rocky's Avatar
    83

    Can anyone edit this EA to automatically set a SL?

    EDIT: Forget about the editing, it'll be easier to make a new easy EA. I need something which adds a SL to each opened trade automatically and considers the spread. If SL worth is 10 pips and real spread 2 pips, it will create a SL of 12 pips.

    Compared to routine halt loss EAs, the Bid/Ask values need to be switched, to add the spread to the SL.

    For market orders it'd be ASK price(BUY button) /PLUS/ SL value.
    For buy orders it'd be BID price(SELL button) - /MINUS/ SL value.

  2. #2
    Member Rocky's Avatar
    83
    I did it. I'd like to thank FxAutomated to supply their complimentary SL EA on mql5.com. I hope you guys don't mind that I changed bid with ask within the code, such as the SL settings, so today it adds the spread worth to the SL worth, which is what I desired. I analyzed many SL EAs and this one seems to be the very best and the fastest, too. Even though I want the SL would be used almost instantly like when market thickness is being used, but thats not possible, I suppose. It takes approximately 1-2 seconds, that ought to be enough, I'll keep testing.

  3. #3
    Member Rocky's Avatar
    83
    To edit EA you need to upload the source file .mq4
    you're correct, I edited my original post.

  4. #4
    Junior Member Oxscoty's Avatar
    17
    To edit EA you should upload the source file .mq4

  •