fxDreema

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

    How to store a set of conditions as a variable

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

      Hello Everyone

      I am trying to make my EA save the lowest price (of the last 15 candles) as a variable only if conditions 1 and 2 have been met. see shared project link below.

      https://fxdreema.com/shared/dpUejq8wb

      What am I doing wrong?

      Thanks in advance

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

        Your condition are:
        if candle 10 high is higher than the high of candles 1-9
        &
        if candle 10 high is higher than the high of candles 11-15
        then
        Save candles 1-15 low

        I see no reason why this doesn't work as long ass conditions are met, I would put all results into a comment block so what is needed can be verified
        .

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

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

          @didymario7 The logic is correct. The 'pass' block is not necessary though. Is that the whole 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.

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

            @l-andorrà said in How to store a set of conditions as a variable:

            @didymario7 The logic is correct. The 'pass' block is not necessary though. Is that the whole project?

            No I just got started though. As part of the project, please take a look at this challenge and see if you can help out. https://fxdreema.com/forum/topic/12949/close-pending-order-before-midnight-and-reopen-it-after-midnight

            Thanks

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

            Online Users

            S
            A
            B
            A
            J
            D
            E

            20
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors