fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Warning: Too short SL requested...

    Questions & Answers
    3
    5
    908
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gery last edited by

      Hi @fxDreema
      I'm having the same problem here as I want a SL with lower pips than the spread but the EA automatically set the SL the same points as the spread. I have confirmed in backtests is not a broker issue as I have tried other HFT EA existing in the market and they correctly apply SL with lower points than spread.
      So maybe there is something that once translated to code it doesn't allow to set a very short SL but it would be nice that there is the option to choose if you want this rule to be applied or not, don't you think?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • G
        GiovanniBumbo last edited by

        Hello.

        I am using strategy tester from MT4 provided by OctaFX, broker's conditions are 20 pips SL distance from actual price.

        My EA tries to trailing stop trades at 20 pips... but it keeps on telling:

        2016.04.07 14:33:11.033 2016.04.06 18:02 NUOVO_20160405_23 EURUSD,M1: Warning: Too short SL requested (1.14176 or 30 points), minimum will be taken (1.14166 or 40 points)

        In this example I set the fixed spread to 10 pips, and it seems it has a minimum SL distance of 30 pips, so adding 30+10 it needs 40 points...

        Can you help me understand why? How can I fix it to have a good testing?

        Thanks

        1 Reply Last reply Reply Quote 0
        • fxDreema
          fxDreema last edited by

          What do you understand by "pips"? What I understand for EURUSD is 0.0001. Not 0.00001 or something else, but 0.0001. This is 1 pip. http://www.investopedia.com/terms/p/pip.asp

          Even if you find other definitions of this word, it is a fact that most people imagine 0.0001 as 1 pip. Even if your broker is 5-digit.

          If your broker is 5-digit, then 0.00001 is 1 point and 0.00010 is 10 points. I said "point", not "pip". I know, now if you move the SL/TP line it says "pips", but in the past they used the word "points" instead and I don't know why they decided to change it.

          By default in EAs made in fxDreema 1 pip is 0.0001 even if the broker is 5-digits. This is because of the default rules, and you can see them if you click on the settings bench in the upper right corner. What you have there is this:

          __
          ...
          0.00001 = 0.0001
          ...[/quote:122hyrs9]
          ... which means that is the point size of the symbol is 0.00001, all calculations that involve pips will work as if the broker is 0.0001

          1 Reply Last reply Reply Quote 0
          • G
            GiovanniBumbo last edited by

            Thanks for the clarification, at least now I understand the difference between "pips" and "points"...
            But why if I set the SL at 2 pips, i.e. 20 points in EURUSD 5 digits, it keeps on telling me "Too short SL requested, if the broker accept 20 points = 2 pips as minimum SL distance?

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema last edited by

              Brokers often have limits. The EA is checking the minimum distance where SL/TP can be placed and if the requested value is lower, the minimum is taken. I think this is the better way, because otherwise you will get error messages such as 130 Invalid Stops

              Take a look below StopLevel Minimum Distance Limitation here - https://book.mql4.com/appendix/limits

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post

              Online Users

              A
              E
              R

              7
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors