fxDreema

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

    help for deploying pending Untill (max_trade) executed

    Questions & Answers
    2
    12
    312
    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.
    • N
      nahid1raj last edited by nahid1raj

      Hello,

      I've created a robot that places pending orders. If there’s no buy (position or order), it deploys a buy stop order, and similarly, if there’s no sell (position or order), it deploys a sell stop order. When any order (buy or sell) is triggered, all other pending orders are deleted.

      The goal is to have once at a time & (Max_trade) orders triggered per day on each side (buy/sell).
      However, the issue is that the robot only deploys two pending orders in total, including the deleted ones.

      I want the robot to keep deploying pending orders until two or (Max_Trade) orders are actually executed on each side (buy/sell).
      And obviously onece trade at a single time.

      Thank you! @jstap @l-andorrà

      bellow that link, https://fxdreema.com/shared/w59ffWJuc

      1 Reply Last reply Reply Quote 0
      • N
        nahid1raj last edited by

        Is anyone for help??? @jstap @l-andorrà

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

          Why are you using a if position block above buy/sell, Surly this prevents any trade from being placed.

          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! 😊

          N 1 Reply Last reply Reply Quote 0
          • N
            nahid1raj @jstap last edited by

            @jstap can you please suggest me, which block shoud add that can robot to keep deploying pending orders until two or (Max_Trade) orders are actually executed on each side (buy/sell). and order only once at a time.

            1 Reply Last reply Reply Quote 0
            • N
              nahid1raj last edited by

              I chenge with No position/ order also not working as wanted
              link below
              https://fxdreema.com/shared/TKB0SKC5d

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

                No position will only allow 1 trade, if position works once there is trade, maybe pink blocks pips away to place others, you do not need to count when an order is placed, there are blocks that will do this (you can see them on the left of this picture}:
                image.png

                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! 😊

                N 1 Reply Last reply Reply Quote 0
                • N
                  nahid1raj @jstap last edited by

                  @jstap, sorry, I think am not clear well. profit or loss whatever happened I want only "max_trade" times trigger order. means set a block to keep count of how many trades have been successfully executed then once reached target then stop deploying pending order.
                  please send a shared link, that can help me to better understand.

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

                    This is placing an order when needed? Do you want other orders to be placed while other orders/trades run, then delete orders when max trades are met?

                    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! 😊

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      nahid1raj @jstap last edited by

                      @jstap place a buy and a sell pending order.
                      If one order trigger, then make delete all pending order.
                      After completing triggered order then place again buy and sell pending order.

                      Untill 2 buy order and 2 sell order completed.

                      Note:- If 2 buy order completed then place only sell pending order, until 2 sell order complete.

                      I mean, I want placing pending order until meet 2 buy and 2 sell order completed.
                      If reached the meet then close trade. I hope understood the requirement.

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

                        See if what I have done on the on trade tab does what you need: https://fxdreema.com/shared/ckLQyzOAd

                        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! 😊

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          nahid1raj @jstap last edited by nahid1raj

                          @jstap thanks for your effort, but my question is, how to used those drawing block below picture that I can get complete 2 buy or sell executed order.

                          testing 1 and 1 more page - Personal - Microsoft​ Edge 8_29_2024 1_56_36 AM.png

                          https://fxdreema.com/shared/8b0Go234c please provide link

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

                            Why have you moved everything onto on trade? on tick does all with occasional necessary actions on trade

                            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

                            V

                            13
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors