fxDreema

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

    Trailing stop problem with minimum distance limitation

    Questions & Answers
    2
    7
    907
    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.
    • T
      trooper last edited by

      Hi

      Hope you can help me. I´m having a problem with the trailing stop on a MT5 EA. That happens when trailing stop tries to move the SL when the price is too close to the TP level. As there is a minimum distance limitation on where the TP can be placed, even though only the SL was changed, that causes the TP to be deleted leaving the trade without a TP. Is there a way to solve this? Is there a way to only change the SL without affecting the TP?

      Thanks

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

        You have trailing stop with Step = the size of TP. This is weird 😮

        I don't remember why, but I have set it in a way, so if the desired TP level is equal to Ask, TP to be set to 0.

        1 Reply Last reply Reply Quote 0
        • T
          trooper last edited by

          __You have trailing stop with Step = the size of TP. This is weird 😮 [/quote:3q3a8mv3]

          Didn´t understand what you meant by that!!! 😕

          __I don't remember why, but I have set it in a way, so if the desired TP level is equal to Ask, TP to be set to 0.[/quote:3q3a8mv3]

          That is what I see happening. The TP is set to zero when the Ask (or Bid) is equal or too close to TP. Then the operation has to be closed manually otherwise will be closed when it hits SL even if already reached the original TP. Is there a solution for this?

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

            I mean that you have no trailing stop until the price goes too close to TP. This is not Take Profit, this is Trailing Step: http://prntscr.com/6fvr9t

            1 Reply Last reply Reply Quote 0
            • T
              trooper last edited by

              Oh no, that is not the one I´m refering to. I did corrected the one you mentioned.

              The one I´m testing is an earlier version that I´m running on a demo account, works correctly and the settings are actually correct with Trailing Step set as is meant to be. But the problem still exists. The TP is set to 0 when the trailing stop is moved when the price is at or too close to the TP.

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

                Ok, I removed that rule to set TP to 0. Now what, you still don't have trailing stop 😕

                1 Reply Last reply Reply Quote 0
                • T
                  trooper last edited by

                  OK I´m going to test it now and we´ll see how it works. Thanks.

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

                  Online Users

                  K
                  K
                  J
                  M

                  14
                  Online

                  146.8k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors