fxDreema

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

    "Modify each trade" block query

    Questions & Answers
    2
    7
    1702
    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.
    • J
      james last edited by

      The "Modify each trade" block seems to allow me to specify a new stop loss and new take profit for all trades running. However, I don't wish to alter the take profit; I wish to leave it at none.

      As there is no drop-down arrow with choices, do I achieve this by simply leaving the "new take profit" field blank?

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

        I should update this block, but you can use "Start trades loop => (in loop) Modify SL and TP".

        1 Reply Last reply Reply Quote 0
        • J
          james last edited by

          Thanks for the reply.

          I would like to use this outside of a trade loop. So am I right in thinking to leave the take profit unchanged at none I simply leave the "new take profit" field in the "modify each trade" block blank?

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

            You know... while you waiting for an answer to this, you can check it so many times :))

            If a numeric field is blank, it's value will be 0 in the output code. Sometimes I totally forget what a certain block can do, but I'm almost sure that this one will clear TP if you put a value of 0. By the way, this block has the loop inside.

            The story of the whole group of blue blocks is that I started creating them, then I created all the pink blocks, and because they can do what the blue ones can do (and more), I abandoned blue ones 😆

            1 Reply Last reply Reply Quote 0
            • J
              james last edited by

              Thanks again for the reply.

              The pink "(in loop) Modify SL and TP" block doesn't seem to allow me to specify by Group. That's why I'm using the blue "Modify each trade" block. So maybe the pink blocks need a little updating too? 🙂

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

                No no... Group is specified in "Start trades loop". Each of "(in loop)...." blocks does something over the already loaded trade/order/history trade.

                1 Reply Last reply Reply Quote 0
                • J
                  james last edited by

                  OK. But over 12 or so trade groups, that's quite a lot of individual "Start trades loops" and associated other blocks. That's maybe 8 or so as many blocks in comparison to being able to call a group in the pink blocks.

                  Just a thought! 🙂

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

                  Online Users

                  D
                  S
                  G

                  21
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors