fxDreema

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

    modify take profit after entering operation

    Questions & Answers
    2
    7
    308
    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.
    • S
      slydexx last edited by slydexx

      Hello,

      I have a doubt that may seem trivial but I can't resolve it in any way.

      I would like to ensure that when an operation with take profit 0 is entered it automatically transforms into 300% of the stop, for example. This happens correctly but it doesn't give me the possibility to change it even if I try to raise or lower the stop it always returns to the original take profit. How can I make it so that the take only edits once and then gives me the option to edit it? I'll send you the project.

      https://fxdreema.com/shared/c2mDTgsJd

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

        @slydexx try the pink "once per position" block as a filter.

        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

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

          @roar https://fxdreema.com/shared/c2mDTgsJd I tried like this but nothing doesn't work as soon as you change it it immediately goes back to the original take profit

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

            @slydexx the block I mentioned isn't there

            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

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

              @roar https://fxdreema.com/shared/qcuEf66Eb sorry, I made a mistake in sharing the link .. I sent it for MT4 but I need it for MT5

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

                @slydexx naturally you need to check the current stop before modifying it. In the latest version you are modifying every position regardless of their stop.

                Also, switch the "If position" block to a "for each position". Pink blocks always need a purple loop block as a parent. The blue blocks sometimes work, but they are not intended to work like that and thus not reliable.

                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
                • S
                  slydexx last edited by

                  ok thanks so much for your help I'll try right away.

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

                  Online Users

                  E
                  S
                  I
                  G
                  F
                  A
                  I
                  E
                  D
                  O
                  A
                  J
                  M
                  R

                  37
                  Online

                  146.6k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors