fxDreema

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

    Issues with Trailing Stop Errors in MT5

    Questions & Answers
    mt5 errormessages trailingstop
    2
    6
    1244
    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.
    • A
      Adam692 last edited by

      Hi everyone,

      I've been encountering some error messages when using trailing stops in MT5. Here are the specific error messages I am receiving:
      failed modify #650 sell 0.31 XAUUSD sl: 2324.72, tp: 2312.32 -> sl: 2319.96, tp: 2312.32 [Invalid stops]
      2024.04.24 12:26:06
      failed modify #0 buy 0 sl: 0.00, tp: 0.00 -> sl: 2313.53, tp: 2305.32 [Invalid parameters]
      2024.04.24 18:00:38
      failed modify #0 buy 0 sl: 0.00, tp: 0.00 -> sl: 2333.47, tp: 2341.53 [Invalid parameters]

      If anyone knows how to resolve these issues, please share your insights. Any help would be greatly appreciated!

      Thanks in advance!

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @Adam692 last edited by ambrogio

        @Adam692 seems that the level of trailing is too closer to the current price. Can you share your project?

        A 1 Reply Last reply Reply Quote 0
        • A
          Adam692 @ambrogio last edited by

          @ambrogio I am trying to create a scalper expert that places pending orders at the peaks and troughs of the zig zag indicator, followed by a tight trailing stop to follow the price. I intend to use this for indices and gold. Here is the outline: https://fxdreema.com/shared/4Ntt1K6Cc

          It mostly works, but I wonder if there is a simpler way to achieve this, and I would appreciate any suggestions.

          I have a stop modification feature because pending orders do not allow stops to be placed closer than a certain point, so I modify them afterward.

          The issue seems to be that the trailing stop is too close, but this is strange to me because even when I adjusted it to a greater distance, I still received errors. Additionally, many scalper experts work with tight stops and a few pips of take profit without reporting errors. Those experts were obviously not made with FXDreema, but how do they manage to work error-free?

          A 1 Reply Last reply Reply Quote 0
          • A
            ambrogio @Adam692 last edited by

            @Adam692 the problem is the breakeven value = 1, very very small, it conflicts with the spread.
            Increase that value and you'll see that it works

            A 1 Reply Last reply Reply Quote 0
            • A
              Adam692 @ambrogio last edited by

              @ambrogio Alright, I will increase the breakeven value, but I have already tried turning off the breakeven and increasing the trailing stop distance. Errors still occurred, although perhaps less frequently. Thank you for the advice.

              A 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @Adam692 last edited by

                @Adam692 sure, i guess, if you want to maintain such small values ​​it will certainly be better for you to add/subtract the spread on break even and trailing

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

                Online Users

                D
                E
                N
                N
                F
                M
                A
                L
                O

                28
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors