fxDreema

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

    Help for Trailing Stop

    Tutorials by Users
    2
    8
    361
    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
      Anto74 last edited by

      Good morning, I need your help I have to set a stop loss equal to 3% of the balance, and when the price goes positive, it should move the stop loss to the nearest fractal: fractal up if it's a SELL, and fractal down if it's a BUY. can you help me?

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

        First, get the fractal moving a line to the fractal, and then when SL is < or >the open, check if the fractal is < or > the open, then move SL to fractal and keep moving if new is < or > the current SL. Set up a project doing 1 bit, then when working, move on to the next, then add it all together.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        A 1 Reply Last reply Reply Quote 0
        • A
          Anto74 @jstap last edited by

          @jstap Thanks for the reply, kindly could you give me an example on how to create this control?, I used the custom price level on the buy or sell, but the stop loss line does not come out in display. Am I doing something wrong?

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

            Is a little to get it working, make a start, if not working add a shared link and say what you are trying to do. I will help but not create the Whole EA. Bink blocks: for each trade - conditions - modify stops will move the stop, above the trail block check if SL is still at a loss to move

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            A 1 Reply Last reply Reply Quote 0
            • A
              Anto74 @jstap last edited by

              @jstap said in Help for Trailing Stop:

              È un po 'per farlo funzionare, fare un inizio, se non funziona aggiungere un link condiviso e dire cosa si sta cercando di fare. Aiuterò ma non creerò l'intero EA. Blocchi Bink: per ogni operazione - condizioni - modifica si ferma sposterà lo stop, sopra il blocco del sentiero controlla se SL è ancora in perdita per muoversi

              this is the condition :EA.png

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

                Fractals only appear on ID 2 or 3, but you need to record this value every time one appears, that way you know its value. I think you need to place it initially at a set point, then trail until is level with open, then start to move with fractal. This is why I said to start with drawing a line.

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                A 1 Reply Last reply Reply Quote 0
                • A
                  Anto74 @jstap last edited by

                  @jstap ok ty i try.

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

                    This https://fxdreema.com/shared/QpwznbiF will save the value into a global variable, it has to run on the chart until the fractal appears but, you can use this value to place/move the stop

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

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

                    Online Users

                    M
                    S
                    T
                    O
                    G
                    B
                    A
                    P
                    I
                    M
                    M
                    J
                    T
                    S
                    T
                    M

                    31
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors