fxDreema

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

    Trailing stop issues

    Questions & Answers
    2
    11
    385
    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.
    • C
      capitalfreedom last edited by capitalfreedom

      Could anyone identify what is wrong with my trailing stop configuration. The goal is to trail by x% of profit (trailing stop) once price reaches x% of balance (trailing start) it seems to be an issue with the trailing start here. https://fxdreema.com/shared/bA5VH4Z4d

      1 Reply Last reply Reply Quote 0
      • C
        cmuphyfx last edited by

        The issue here is that your offset is looking for a price value and you are giving it a profit value: It's expecting a value like, $1.53, and you're sending $250 or something like that.

        When do you want to trailing stop to start? I typically set mine up to be at a % of the stop loss. So, if I'm risking 1% of my account per trade, my SL represents that 1%, and I want my trailing stop to kick in when I'm 150% away from my stop loss, or 1.5 risk to reward.

        1 Reply Last reply Reply Quote 0
        • C
          capitalfreedom last edited by

          Trailing start is based off of this formula. I intended for it to be based off profit being a certain percentage Screenshot 2023-12-12 at 3.26.12 PM.png

          1 Reply Last reply Reply Quote 0
          • C
            cmuphyfx last edited by

            Seems like you could do this with a check profit (unrealized) block and when that condition is true, you enable the trailing stop.

            1 Reply Last reply Reply Quote 0
            • C
              capitalfreedom last edited by capitalfreedom

              I have a check profit block prepared for a different instance as well however it does not trail like this one would so it doesn't fulfill my need

              1 Reply Last reply Reply Quote 0
              • C
                cmuphyfx last edited by

                Your trailing stop does not work because you are not giving it accurate information. You need to change the offset parameter to be a price value, not a profit value.

                1 Reply Last reply Reply Quote 0
                • C
                  capitalfreedom last edited by

                  how can i do this. I actually want the value to be aa profit value are there steps/formula to make this a price value?

                  1 Reply Last reply Reply Quote 0
                  • C
                    capitalfreedom last edited by

                    @l-andorrà @jstap any suggestions for thiis? you guys are always helpful also

                    1 Reply Last reply Reply Quote 0
                    • C
                      cmuphyfx last edited by

                      I gave you a suggestion earlier. Have a block that checks to see if your equity is at a percent that you want. If that is true, then you enable the trailing stop.

                      1 Reply Last reply Reply Quote 0
                      • C
                        capitalfreedom last edited by

                        Isn't that what the trailing stop block is for as i have it programmed. if u have recommendation of how to set it up your way could edit the current logic to reflect. because If i use the previous suggestion to use check profit it will only move trailing stop once

                        1 Reply Last reply Reply Quote 0
                        • C
                          capitalfreedom last edited by capitalfreedom

                          @cmuphyfx I now understand your logic. Applied the check profit blocked as you suggested and it produced the desired effect on visual tester. Hopefully it will work live as well unlike my previous model. Thanks!

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

                          Online Users

                          B
                          M
                          J
                          B
                          A
                          E
                          R

                          23
                          Online

                          146.7k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors