fxDreema

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

    Flags switching value

    Questions & Answers
    3
    4
    1284
    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

      Evening, i regret that i have to open a new topic for such a simple thing, but as i didn't found any response to that in any categories of the forum, i hope it will be useful to the others.
      I'm building an EA using Fibonacci method, and used "set flag" and "check flag" blocks, to separate respective conditions, in time.
      Once conditions pointing to "set flag" are validated the new boolean value is "true" and it passes to the "check flag" fixed on "true" as well. But this "true" value stays like that, until, you change it by yourself i guess. It continues running blocks below the "check flag" until you do it, but how ?
      Aswell, before the "set flag" passes first time, is its value "undefined", or "false" ?
      Thanks

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @seb 0 last edited by

        @seb-0 I've never used flags, they are not necessary if you use variables.
        Just make some (boolean) variables and set their values to TRUE/FALSE (or 1/0) according the logic.

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

          I concur with roar. Dealing with variables mey be more clumsy initially, but I strongly recommend you to use them That will empower you in your later projects.

          (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 @roar last edited by

            @roar
            @l-andorrà
            You right i managed to do with variables in 30 minutes, what i was trying to do with flag since few days..
            Thanks for the advice

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

            Online Users

            K
            C
            E
            M
            F
            T
            M

            19
            Online

            146.6k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors