fxDreema

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

    How to set consecutive conditions

    Questions & Answers
    3
    5
    1163
    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.
    • S
      seb 0 last edited by

      Hello, i am currently on a fxdreema project and as i understood conditions in a same line must be verified simultaneously to be satisfied, i was looking for a way to make consecutive conditions. That would allow me to do something like : if candle X top crosses the level Z, and the next candle (X+1) is a bearish then ..

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @seb 0 last edited by

        @seb-0 there are several ways to do that such as setting and checking flags or turn on/off blocks.
        If the order is pretty clear you may still use a single line and start with the most recent action or with the strictest one.
        So if your condition is a) X crosses y and b) 2 next candle has to be something, you'd start with b) and in the line check a) afterwards.

        Always think from the point in time the EA is at current.

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • S
          seb 0 last edited by

          I see, so it would be something like : a) If 2 candles crossed the level Z upward, with an exception of one (one is enough) b) If the candle is bearish then.. i could sell now for exemple
          Im still gonna have a look to flag blocs, and ON/OFF blocs, it could be helpful if i need to add more conditions.

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

            If you share your project we can give you a more detailed answer.

            (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
            • S
              seb 0 last edited by

              I deleted my project, but i found that i could determine what candle is taken in count as a condition with the Candle ID parameter : Current candle = Candle ID 0, the previous one = Candle ID 1 etc

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

              Online Users

              N
              S
              T
              A
              Y

              18
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors