fxDreema

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

    How does candle id work on the once per bar filter?

    Questions & Answers
    3
    4
    398
    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
      davjack last edited by davjack

      I'm assuming the once per bar filter checks once right after a new candle has started forming. But I'm unsure what candle has what ID. Is the candle left of the active one candle ID 1? If so, how could a trade be executed on candle 0 if it's only checked after close in which case there's already a new candle?

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

        @davjack Current forming candle is 0, you only have a close for a split second before it becomes 1, you are better off to set your conditions to activate on 0 open and all other conditions to look at candle 1. Conditions are checked at every tick which can be a few times a second, once per bar limits these to 1 at the start of the candle.

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

        TipsyWisdom 1 Reply Last reply Reply Quote 1
        • TipsyWisdom
          TipsyWisdom @jstap last edited by

          @jstap said in How does candle id work on the once per bar filter?:

          @davjack Current forming candle is 0, you only have a close for a split second before it becomes 1, you are better off to set your conditions to activate on 0 open and all other conditions to look at candle 1. Conditions are checked at every tick which can be a few times a second, once per bar limits these to 1 at the start of the candle.

          upvote 100 times

          TipsyWisdom 1 Reply Last reply Reply Quote 0
          • TipsyWisdom
            TipsyWisdom @TipsyWisdom last edited by

            although technically once per bar doesnt mean, start of candle...it means first tick of that candle....theoretically.

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

            Online Users

            E
            R
            S
            A
            B
            N
            M
            A
            T
            V
            M
            A

            24
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors