fxDreema

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

    EA based on mt5 opened orders with pending orders

    Questions & Answers
    2
    13
    1267
    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.
    • D
      danyz1989 last edited by

      Create an EA based on the orders that i open manualy in mt5 ,
      it is possible to create an ea that creates pending orders depending on the position that i opened on mt5 ?

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

        on trade tab, trade created by all and manually opened, place pending with desired settings, create 2 trees 1 for buy / 1 for sell

        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
        • D
          danyz1989 last edited by

          i tried that and it opens unlimited pending orders

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

            Not if done on the on trade tab, the trade created block only works once

            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
            • D
              danyz1989 last edited by

              i did it this way , but still doesnt work proprely , i want to make this strategy , when i place a buy (maually) to open a pending sell orders at certain distance , if take profit is hit at one of this trade to delete all pending orders and close position.
              https://fxdreema.com/shared/lJQO3ffPd

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

                Try this:

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

                1 Reply Last reply Reply Quote 0
                • D
                  danyz1989 last edited by

                  i solved the issue thx , now im trying to figure out the : if i manually buy a trade of 0.01 , it will place a selling pending order of 0.02, but i want when that seeling order is filled i want to put a buy order from that price of 0.04 and so on , and if the tp is hit deleting all pending orders and change the starting lot back at 0.02 ( i put 0.02 because the ea can't read the manualy started lot )

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

                    The \EA can read your starting trade lot, for each trade, looking for last opened, put the lot in a variable. put this un a comment to see what returns, you could then adjust by *? in your buy block, if tp hit you can tell ea to use the fresh starting lot.

                    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
                    • D
                      danyz1989 last edited by

                      im trying like this but it doesnt double as i want https://fxdreema.com/shared/8cDCIakib

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

                        You want it set like this:

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

                        1 Reply Last reply Reply Quote 0
                        • D
                          danyz1989 last edited by

                          i tried like this but it only double the next buy pending order , what im trying is if a buy is lost next sell pending order to be double

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

                            You need to add more blocks, if loss do this, if win do this.

                            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
                            • D
                              danyz1989 last edited by

                              just and update i think i've fixed and its working proprely im waiting to see on more loses if it doubles corect , txh for the help , i attach the link just in case somebody needs it https://fxdreema.com/shared/sFyd9ycXd

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

                              Online Users

                              F
                              H
                              M
                              H
                              A

                              10
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors