fxDreema

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

    Issues with Once per bar

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

      I am having some issues with "Once per bar" block. I am not sure if this is a bug or I am doing something incorrectly.

      This is what I am trying to do:

      Whenever a new H4 candle bar opens, I have a condition to check if the previous bar was a "Bull" or a "Bear. I do this by comparing the Open and Close price of Candle(1) I believe this is the right way to do this since Candle(0) is the current candle that might have just opened. I do not know what is going on but it works sometimes and does not work sometimes. Any ideas of such a behavior or if I can try something else to get the same result?

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

        0_1592222523838_6324d956-b67e-457c-a370-bb5d1034cdf1-image.png

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

          0_1592222563152_acde2ce1-2f98-46e1-8f23-92005eee9e93-image.png

          1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà last edited by

            It depends on the context and the whole structure. Can you please share your project?

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

              Thanks for your reply. Can you please explain what you mean by depends on the context? here is the full blocks screenshot. I just added the alerts block to see if I get those alerts to validate even if the Condition block is running.

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

                0_1592246529438_975d02ba-2d8d-454c-b258-aae76c558a0d-image.png

                l'andorrà 1 Reply Last reply Reply Quote 0
                • C
                  CPBonzo last edited by

                  Place the "Once per bar" block between the Condition block and the other blocks. I'm unsure of the need to place it before the condition block as I assume it is the deleting of orders and creating of new orders that you want to only happen once per bar. If so, it doesn't matter how often the Condition block passes as long as the subsequent actions only happen once per bar.

                  1 Reply Last reply Reply Quote 0
                  • l'andorrà
                    l'andorrà @BlueMoon last edited by

                    @bluemoon Are working the condition blocks on candle ID 0? If so I recommend you to change them to candle ID 1.

                    (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                    (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                    (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                    Online Users

                    S
                    K
                    S
                    G
                    B
                    F

                    19
                    Online

                    146.6k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors