fxDreema

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

    Grid placing to many trades.

    Questions & Answers
    3
    55
    1833
    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.
    • M
      Michaelgstrainjr last edited by

      Greetings yall,;

      I am working on a grid EA. The EA is making to many trades. I am new to grids. Here is a snippet of code. What do you think about this?

      -Michael

      4f72447e-a19b-41bd-b0a1-5bdc63f317ee-image.png

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

        Light pink need a dark pink for each block first, put your once per bar under blocks that check for something, if position will look for running trades, not pending orders, maybe add another light pink "once per position"

        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
        • M
          Michaelgstrainjr last edited by

          Thank you for that piece of advice. I am checking for other trade and then if it is x amount away from the SL then I need a pending order.

          1 Reply Last reply Reply Quote 0
          • M
            Michaelgstrainjr last edited by

            image.png

            1 Reply Last reply Reply Quote 0
            • M
              Michaelgstrainjr last edited by

              What do you all think of this order?

              1 Reply Last reply Reply Quote 0
              • M
                Michaelgstrainjr last edited by

                image.png

                I am attempting to place a buy order at the first take profit Then close pending orders if it hits the take profit.

                1 Reply Last reply Reply Quote 0
                • M
                  Michaelgstrainjr last edited by

                  Above the pending order does not get placed. I changed it and now I get too many pending orders.

                  image.png

                  1 Reply Last reply Reply Quote 0
                  • M
                    Michaelgstrainjr last edited by

                    I think I solved the pending orders situation. But now the pending order won't delete if it hits the stop loss.

                    image.png

                    1 Reply Last reply Reply Quote 0
                    • M
                      Michaelgstrainjr last edited by

                      Nope. Not solved yet. Please help.

                      1 Reply Last reply Reply Quote 0
                      • M
                        Michaelgstrainjr last edited by

                        For each position I'd like 1 buy pending order at the take profit of the initial market order. Once they hit their tp sl the pending orders should be closed.

                        1 Reply Last reply Reply Quote 0
                        • M
                          Michaelgstrainjr last edited by

                          So it should go buy market. Hit tp of market order then Buy a pending order.

                          Or Buy market order and place buy pending order at the TP of the market order like I did here.
                          image.png

                          1 Reply Last reply Reply Quote 0
                          • M
                            Michaelgstrainjr last edited by

                            But it does this.

                            image.png

                            1 Reply Last reply Reply Quote 0
                            • M
                              Michaelgstrainjr last edited by

                              I know what was happening. The no position does not count pending orders. I tried this but similar thing happens.

                              image.png

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

                                it's better to add a shared link rather than pictures, no trade(position)/order will work for both a running trade and pending order. On the on trade tab you will have purple blocks, when something happens like a trade opens you can delete pending orders

                                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
                                • M
                                  Michaelgstrainjr last edited by

                                  Thank you for that. How do I share a link?

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Michaelgstrainjr last edited by

                                    https://fxdreema.com/shared/lh8TX9zZd

                                    Found it.

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

                                      Change no position to position/order.

                                      msedge_fzlUoGS8dy.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
                                      • M
                                        Michaelgstrainjr last edited by

                                        image.png

                                        Like this?

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Michaelgstrainjr last edited by

                                          I think it would be like this.

                                          https://fxdreema.com/shared/08i8IRYpd

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Michaelgstrainjr last edited by

                                            https://fxdreema.com/shared/EDrpSORjc I think it is working now even. The orders still have to be cancelled still.

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

                                            Online Users

                                            F
                                            A
                                            H
                                            A

                                            14
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors