fxDreema

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

    Checking recent candles

    Questions & Answers
    3
    6
    296
    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.
    • E
      ennoch last edited by

      Hello, I hope you're doing well.
      I want to create a time range or candle period, for example, the last 10 candles, and check whenever a candle closes larger than all the previous 10 candles. If it’s bullish, it should open a Buy position, and if it’s bearish, it should open a Sell position.
      Additionally, I need an input for the candle size, and the candle’s shadow (wick) should not exceed one-quarter of the total candle size.
      My main issue is checking the previous candles.

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

        @ennoch You can do it as explained here:

        https://fxdreema.com/forum/topic/21718/how-to-know-if-the-last-printed-candle-is-the-biggest-in-range?_=1737038355850

        (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
        • E
          ennoch last edited by

          You misunderstood me. I want to measure the size of recent candles. For example, if the size of candle ID six is the largest candle in the last 10 candles at 100 pips, then whenever a candle closes larger than 100 pips, it should open a position for me.
          What you explained measures the market price, not the candle size.
          If you see this picture, you will understand.
          Screenshot 2025-01-16 075834.png

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

            In that case uoi need a custom loop searching for that information. No single fxDreema block can do that. Are you familiar with loops and variables?

            (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
            • E
              ennoch last edited by

              I have limited familiarity, and I’ve tried to write this code a few times but couldn’t succeed. I thought of asking my question in the forum, hoping someone might help me.

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

                This will check the last number of candles chosen in the inputs, and print in variable/comment the largest, it works on total candle size, if you want body High - Low would need changed to Open - Close. Should do what you want, for example, variable == 1 would give you the signal for 1 being the biggest: https://fxdreema.com/shared/t0H77rtkd

                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 2
                • 1 / 1
                • First post
                  Last post

                Online Users

                S
                H
                A
                P
                L

                13
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors