fxDreema

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

    1 Trade per EMA crossover with a TP but, EA is taking another trade after TP Immediately, how do I stop this please?

    Questions & Answers
    0
    11
    658
    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.
    • C
      ConorTucker last edited by

      I've created an EA that uses a 5 and 200 EMA crossover strategy but, to take a certain pip profit and then to close the trade after the take profit. However, my EA is then taking another trade immediately after this take profit has been acknowledged. Please help me undertand what I need to do to enable it to only take 1 trade per crossover...

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

        @conortucker Use pass once block, rest when it is a good time to place another 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
        • C
          ConorTucker last edited by

          Where would you place this block? Thank you for the reply by the way.

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

            @conortucker in the place trade tree so, when passed it switches off, but wont pass again until you reset, this should be in a separate tree.

            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
            • C
              ConorTucker last edited by

              Would you be able to show me via taking a picture of the code. Thank you.

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

                @conortucker 0_1673461342614_da318e9b-9b76-4749-a78f-32578f965e67-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
                • C
                  ConorTucker last edited by

                  I tried that and it hasnt worked. I'll show you my set up and the outcome.

                  1 Reply Last reply Reply Quote 0
                  • C
                    ConorTucker last edited by

                    0_1673533340192_Forex.PNG

                    1 Reply Last reply Reply Quote 0
                    • C
                      ConorTucker last edited by

                      0_1673533651645_Image.PNG

                      1 Reply Last reply Reply Quote 0
                      • C
                        ConorTucker last edited by

                        So how would I fix this issue within my code. I'm just trying to achieve a crossover (Buy and Sell) technique which in return then gives me a take profit of whatever I choose. I really do appreciate your help by the way. Thank you.

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

                          @conortucker strip back and test, once it works add another condition and test again, continue until all is doing ad you want.

                          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 -1
                          • 1 / 1
                          • First post
                            Last post

                          Online Users

                          H
                          N
                          J
                          A
                          Z

                          13
                          Online

                          146.7k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors