fxDreema

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

    Please help how to add the pending order immediately at the same price of previous open trade every time that when the opposite trade get stop loss.

    Questions & Answers
    3
    10
    1156
    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.
    • zarbitz
      zarbitz last edited by zarbitz

      0_1655020469456_snap_screen_20220612142126.png

      0_1655022049422_5188b0c0-f149-481e-8280-5086eb7ca455-snap_screen_20220612152033.png

      I set the ea buy with stop loss is 5pips and in the same time set the sell stop with stop loss is 5pips then the price go down and touch my sell stop and touch my Stop loss 5pips of buy trade, so right now Its only have sell trade because buy trade was got a stop loss, so I want right now to create or add the buy stop at the same price of previous open buy trade over near my sell trade every time that the opposite order get stop loss, and also if it is opposite direction situation so it should make it same as like this step, if it is sell and pending order buy was touch and my sell trade get stop loss, so it must be create or add the sell stop below near my buy trade every time that the opposite order get stop loss. please help me thank you.

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

        @zarbitz You need to add a shared project so what is inside the blocks can be checked, for a start though you will need to use groups so the pending's have a different number to the instant, then the pending becomes a trade it uses the group number to adjust, the on trade allows greater control on created trades.

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

        zarbitz 1 Reply Last reply Reply Quote 1
        • zarbitz
          zarbitz @jstap last edited by

          0_1655052216946_c5f58803-b8d7-4e4e-a4a1-a8b1d88e1683-snap_screen_20220612234327.png

          @jstap thank you so much try to help me, here is the link of my project https://fxdreema.com/shared/hLKkUYZI
          I use the group of number but I don't know why its still always to much of pending order when the price go, when it get a stop loss I just want to recovery an order by create or add the pending order at the same price of previous open price near my on trade order every time that the opposite order get stop loss, Please help me, thank you

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

            @zarbitz Go to project options and normalise the block id's to correct the crazy numbers, if you want to add trade once one closes remove the pending trees from on tick and add what's in the picture to the on trade tab, as is as soon as a trade has been created a pending is created at the open price of a previous closed trade, this is then the start of a loop so likely keeps placing at the open of all previous trades, see if this works, let me know if not:

            0_1655053691110_9ee721e7-3ddc-4299-8f84-7ebb2763b8eb-image.png

            0_1655053930444_1f5d6c59-c6da-4f2f-aded-231091334a3b-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! 😊

            U 1 Reply Last reply Reply Quote 0
            • U
              Uriel 0 @jstap last edited by

              @jstap how would you get the last pending order closed price to open again another pending order with the same price?

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

                for each closed trade-close price will give you the price. On trade tab trade closed connected to buy/sell will create a instant order.

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

                U 1 Reply Last reply Reply Quote 0
                • U
                  Uriel 0 @jstap last edited by

                  @jstap Sorry, I'm not getting how to get the price of the entry of the pending order closed (when it had to entry first) and the new price for a new pending order (with the same price as the last)

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

                    Maxthon Snap20230509231132.jpg

                    @jstap Hello I put pending order into on trade, but my pending order open price level is not pending in the current open price, it pending at so far away from current open price, please help me how to put the pending order at the current open price when the price go far away from the current open price, thank you

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

                      When a pending order opens it becomes a trade, the pink in loop needs to be used under a for each block.

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

                      zarbitz 1 Reply Last reply Reply Quote 1
                      • zarbitz
                        zarbitz @jstap last edited by

                        @jstap thank you so much, its already work.

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

                        Online Users

                        N

                        21
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors