fxDreema

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

    Need help with coding a custom block

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

      Hello. I need help about coding a custom block.

      https://fxdreema.com/shared/KDp7hioTd

      This is one part of the project where I need help.
      I did a lot of search and there are some posts about that but with no solution...

      This custom indicator use buffer 9 to get highest value of a indicator candle and buffer 10 for lowest value. Using highest indicator value from candleID1 to zigzagH1 I want to get the corresponding candleID. The candleID based on highest or lowest value of the indicator.
      I know in this image it is the same candle as the Zigzag high but it's not everytime the same..

      highest-candle.png

      Sometimes the indicator highest/lowest candle is different from the zigzag high/low

      candle_ID2.png

      I need help about finding the candleID based on highest or lowest value of a indicator...
      There is no such function and it have to be custom code that I can't do.
      I appreciate any help. Thanks in advance!

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

        You will need a custom loop searching for that information. No fxdReema block will do it directly. Is the custom indicator a continuous line, a number on the chart or a hidden value on the buffer?

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

          I know that there is no such fxdreema function. Thats why I am asking for help for some custom block code.
          The indicator is this red/green candles below the price chart (images above). Buffers gives OHLC values like a regular candle. When the candle closes we have four indicator values. Open value, highest value, lowest value and close value. It is candle by candle. No continuous line or number on the chart.
          The goal is to find the candleID between candleID-1 and the L1 or L2 on the zigzag.

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

            you need a reason why, is it the last low on the indicator... is there a buffer in the buffer window saying this candle?

            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
            • S
              stoqn4o89 last edited by

              I don't quite understand what you mean. There is no buffer that saying any candle. Only shows OHLC values for each candle in real time tick by tick.
              I have candleIDs of the price Lows and Highs from the ZigZag advanced topic. I think there is a function to find highest/lowest value of the indicator between candleID-A and candleID-B but how to get the corresponding price candleID of this highest/lowest value.
              How is this so complicated that nobody still figure it out? I searched the forum and didn't find anything...

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

                The ZZ values are relatively easy to get, but are obtained via ZZ buffers, so another indicator will not be known. This contains lots from the ZZ indicator:
                A lot is from mirros work
                https://fxdreema.com/shared/tZtS4KoWd

                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
                • S
                  stoqn4o89 last edited by

                  Well.. please tell me what to do? I am not talking about the ZigZag. It is doing its job perfectly. I need to find price candleID based on my custom indicator highest/lowest value between A and B. Do I need to change something in my custom indicator?
                  Maybe this function will still remain unsolvable...

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

                    I don't think you can, if you have the .mq code for the indicator you could ask AI to add a buffer with the candle ID, without this reference there is not a lot you can do.

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

                    Online Users

                    A
                    L
                    S

                    12
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors