fxDreema

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

    Turning on and off blocks

    Questions & Answers
    2
    8
    183
    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
      Matatika last edited by

      https://fxdreema.com/shared/61hq6xTF
      I've created an EA that turns off when a profit target is hit, but I can't get it to turn back on properly - once it's off it misses the next trading day, and only starts again on the "2nd" day.
      There a link to the project, and here's a screen shot. Any suggestions how I can adjust the time blocks to make sure it turns back on for the next trading day?
      3bb1c030-207c-4545-8de2-f257642e2fba-image.png
      Thanks

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

        use Check profit (period of time) rather than turning blocks on and off, if< your amount place a trade, if> your amount close all trades (if yow want to stop trading), then the next day it will start again.

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

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

          @jstap Thanks, i'll give that a go.

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

            @Matatika 👍

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

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

              @jstap Um, not sure if i've done this right - still keeps opening trades after the profit target is hit.

              image.png

              Any thoughts

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

                Sorry - copied wrong link.
                https://fxdreema.com/shared/aEKpJMLSd

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

                  I
                  msedge_2WjrM0u6q5.png
                  I wouldn't have once per bar above that many conditions. And I would have 2 check profits (what you had may have worked but I have never tried it).

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

                  M 1 Reply Last reply Reply Quote 1
                  • M
                    Matatika @jstap last edited by

                    @jstap thanks again, really appreciate you taking the time to do this.

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

                    Online Users

                    S
                    O
                    K
                    M
                    M
                    C

                    25
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors