fxDreema

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

    hedge without condition

    Questions & Answers
    2
    9
    271
    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
      nahimh last edited by

      e7b0fac9-d8c4-4bd6-8916-9029f59932cc-image.png

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

        hi,
        want to create a hedge ea that hedges the opposite trade by the same lot size, so if sell (lot : 0.13), and buy tp is hit, then asap a buy opens with the same lot size as the sell (lot : 0.13), but here the catch... i want to manually trade, there is no conditions in this EA to open or close trades, i just want to to hedge the opposite position just incase i am busy with daily life... above blocks i put in the "on trade" section, but it doesnt seem to work... help please.... https://fxdreema.com/demo/simple

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

          on chart tab, purple trade closed - pink for each trade - buy/sell with the just closed values in a loop. Set the group to all and will work from manual 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! 😊

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

            @jstap
            the above advice has worked, but created another issue,
            once i close a position partially, it ea considers this as a trade close aswell and opens another position with the same lotsize as i partially closed by... is there a way around this...

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

              In the pink blocks, you have settings for parent/child trade, a new trade would be a parent, and modifying the existing one would be a child 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! 😊

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

                @jstap hi, thanks for reply...
                im not familiar with parent/child trades, can you explain further please...

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

                  Inside you will see this, test and you can see the difference. When you place a trade with a buy/sell block it is a parent trade, when you modify (change lot size etc) it is a child trade. Every time you modify a new trade is created.

                  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
                  • N
                    nahimh last edited by

                    yes, but im using close partially block to modify lotsize, because it closes the trade and opens a new trade (with the new lot size), it opens another position with same lotsize as i partially closed by...

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

                      So that is your child's trade what is happening when you only look for parent?

                      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
                      O
                      J
                      B

                      9
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors