fxDreema

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

    Conditions True > Delay 2 seconds > Enter

    Questions & Answers
    2
    16
    543
    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.
    • P
      pipsondeck last edited by

      Is it possible that after all conditions are true, the EA waits for 2 seconds then enter the trade?

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

        once per second add 1 to a variable, when conditions are true set a variable to 0, and check this number to wait.

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

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

          @jstap above the conditions are once per bar.

          Where shoild once per second be placed?

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

            constantly add to the variable, just set to 0 when conditions are true.

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

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

              @jstap is the logic like this? i dont get the set to 0 when conditions are true

              https://fxdreema.com/builder

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

                That's the builder page, not a link to your project

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

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

                  @jstap apologies
                  https://fxdreema.com/shared/NHN1vFkL

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

                    More like this, on init I set the count to 3 so it will waait for the cross before entering the trade: https://fxdreema.com/shared/fUAo3xDdc

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

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

                      @jstap appreciate the idea, just want to clarify. what if i set oninit count to 2?

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

                        Then it will place a trade at the start, ignoring the ma cross. This is not the finished way to do things, just a way you can watch, before adding and changing so the bot does what you think is best.

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

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

                          @jstap im experimenting right now, basically, there are 2 counters for second
                          1st Value = 2
                          2nd Value = 3

                          this is where my confusion is.

                          the difference between the secodns in OnInit and OnTick

                          hope you can explain,

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

                            No there is 1, it just sets it to on init

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

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

                              @jstap got it.

                              some entry of the EA are not taken when i enable the seconds delay, how can i set that all entries will be taken just a little delay of 2 seconds of the time.

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

                                That is the only way I know how to, you could set comments so it says what the seconds are, and watch it set to 0, will show you where things are possibly failing.

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

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

                                  @jstap Actually it works, i just made some errors with the block condition.

                                  Appreciate the help.

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

                                    @pipsondeck 👍

                                    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

                                    H
                                    E
                                    A
                                    G
                                    Q
                                    C

                                    16
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors