fxDreema

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

    How to do a trailing stop and a stop loss for fractals?

    Questions & Answers
    2
    10
    3709
    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
      cristobaljosemt5 last edited by cristobaljosemt5

      How to do a trailing stop and a stop loss for fractals?

      roar 1 Reply Last reply Reply Quote 1
      • roar
        roar @cristobaljosemt5 last edited by

        @cristobaljosemt5
        The fractal differs from the usual indicators in many ways:

        • Fractal is never on candle ID 0 or ID 1, because it needs 2 candles to complete. So the first candle to look for a fractal is ID 2.
        • When a candle doesn't have a fractal, indicator value is 0 (I think).
        • Up fractal value is candle high, down fractal value is candle low.

        We need to track the fractals with variables:
        https://fxdreema.com/shared/BedFyvXUd

        Once we have the fractal stored in a variable, setting the stop loss level shoud be simple.

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        C 1 Reply Last reply Reply Quote 0
        • C
          cristobaljosemt5 @roar last edited by

          Hello my friend, thank you very much, I only have one thing left, which are the variables or constants that I must declare so that when compiling I do not get the error

          roar 1 Reply Last reply Reply Quote 0
          • roar
            roar @cristobaljosemt5 last edited by

            @cristobaljosemt5
            Oh, of course - these are the needed variables:
            0_1551808143248_3c083912-b77b-4b16-9771-203babb4b0a3-image.png

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

              https://fxdreema.com/builder

              I can not get the stop to work for fractals, what happens?

              roar 1 Reply Last reply Reply Quote 0
              • roar
                roar @cristobaljosemt5 last edited by

                @cristobaljosemt5
                0_1551886258432_faad3c5c-1fe7-4b6e-b4c0-6909a615c001-image.png
                Use this to share

                Need small help? Tag me in your post
                Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                C 1 Reply Last reply Reply Quote 0
                • C
                  cristobaljosemt5 @roar last edited by

                  @roar

                  🙂 https://fxdreema.com/shared/FyPIK3Ase

                  roar 1 Reply Last reply Reply Quote 0
                  • roar
                    roar @cristobaljosemt5 last edited by

                    @cristobaljosemt5
                    0_1551980540779_90da608b-6c95-4497-b728-bf213faba1bb-image.png

                    Use right click to put a variable to the stop-loss field.

                    Stop-loss at last fractal:
                    0_1551980666767_469f7d0d-8b37-45ab-984f-20176e2c460b-image.png

                    Need small help? Tag me in your post
                    Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      cristobaljosemt5 @roar last edited by

                      @roar
                      https://fxdreema.com/shared/awkEMTCbe
                      Hello friend, thank you very much for your contributions, now I try to add a trailing stop, but it does not work, which is what is failing

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

                        Connect like this:
                        0_1552057934890_be153d4e-7295-4110-8840-d5e39073fc59-image.png
                        https://fxdreema.com/shared/oRPyrJOBd

                        Need small help? Tag me in your post
                        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                        Online Users

                        M
                        J
                        B
                        A
                        E
                        R
                        S

                        18
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors