fxDreema

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

    Wait for next candle

    Questions & Answers
    2
    9
    369
    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.
    • B
      bmarchand last edited by

      Should this not wait for next candle?

      9888f806-58b1-4aad-ae80-55809dce3a68-image.png

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

        What you're saying is the Candle Open must equal the Candle close for the current candle, which is pretty much impossible since Candle ID 0 is the current open candle.
        If you're trying to wait for the next bar/candle, can you not just use Once Per Bar/Candle block?

        1 Reply Last reply Reply Quote 0
        • B
          bmarchand last edited by

          I got this info a while ago from here, then took a break and now back into it--LOL, Once per bar didn't work, there are some other ways documented here, I will have to find them again, Thanks

          1 Reply Last reply Reply Quote 0
          • B
            bmarchand last edited by

            This condition does pass, just doesn't wait long enough

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

              What I'm trying to say is Candle ID (0) never has a close because Candle ID (0) is always the current candle. So the condition you're trying to make will never be met, therefor any blocks after won't execute. Generally, you normally always look back 1 candle unless you're doing something specific.

              B 1 Reply Last reply Reply Quote 0
              • B
                bmarchand @willramsey last edited by

                @willramsey But it does pass and they execute, have one trade running now

                1 Reply Last reply Reply Quote 0
                • B
                  bmarchand last edited by

                  The problem is it passed about 30min in but im on H1 chart, so was looking for a candle to go by, I found this elsewhere on the forum, may try this one after my triggered trade closes

                  image.png

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

                    Yeah, using time makes more sense in some way then what you had before.

                    1 Reply Last reply Reply Quote 0
                    • B
                      bmarchand last edited by

                      This is why I like to bounce this stuff off you guys, helps a lot--thanks

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

                      Online Users

                      S
                      G
                      L

                      11
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors