fxDreema

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

    How? - Do not open if a trade has been close manually.

    Questions & Answers
    3
    8
    969
    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
      dreematrade last edited by

      Hi,

      Situation: EA is running and in profit. But I close it manually as it doesn't have a TP point. But after i close it, the EA immediately open again. I DO NOT want the EA to open any trade (atleast for the next 3 bar) if the trade has been close manually by me. Please advise.

      Thank you

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

        @dreematrade A pink for each closed trade block with manual trade inside, reset a variable to 0, then add 1 per bar, in the buy/sell tree check with a condition that variable value is > 3.

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

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

          @jstap Hi, this is relevant for me. Can you provide me with steps or illustration? I have challenges understanding adding variables

          Much appreciated

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

            @traderea6 This should work:

            https://fxdreema.com/shared/l3v48iVF

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

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

              @jstap Hi, thanks for building the block. Am i right to say that I only need to enter the number of candle to wait?

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

                @traderea6 Yes if you put the number to wait in inputs, when a trade closes the number will reset to 0, it will then +1 every bar so when a new trade is placed the number has to be equals or above what you put in the inputs.

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

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

                  Hi @jstap ,I tested it. It will execute trade if there is no value in candles to wait. But if i put in any value e.g 1 or 3. The EA only open 1 trade and stop opening anymore. Can you check? It is the same for your example program.

                  Thanks

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

                    @traderea6 Try this, had to stop it constantly looking at the same close trade: https://fxdreema.com/shared/XicUoNbB

                    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

                    A
                    A
                    E
                    B
                    M
                    J
                    B

                    18
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors