fxDreema

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

    Unable to get another ChartID's Object price level

    Questions & Answers
    3
    6
    304
    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.
    • kelly.morgan
      kelly.morgan last edited by

      I have been racking my brain on trying to get this to work.

      What I am trying to do is copy an object from one chart ID and draw it onto the current chart the EA is on. The problem is that when I try to draw the object onto the current chart, it will not get the price level of the object on the other chart, therefore the price will be 2147483647

      I have tried to use the code ObjectGetDouble() but to use that code, the object's name must be selected and I'm not sure how to select the names that have been stored in the For Each Object block since there could be multiple.

      Another thing I have found during research is ChartRedraw(). When I tried to use that I got an error about Global Scope and I'm not sure what that is or how to fix it.

      Here is my project: https://fxdreema.com/shared/a4SH6S1A

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

        Not sure I fully understand. Do you mean checking the value from chart A to be plotted on chart B?

        (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
        • kelly.morgan
          kelly.morgan last edited by

          Thanks for the reply! Yes that is correct! 🙂

          Just from doing some research, maybe it's that the Chart's ID exceeds 2147483647? From what I read, mql4 doesn't like integers bigger than that number.

          S 1 Reply Last reply Reply Quote 0
          • kelly.morgan
            kelly.morgan last edited by

            @l-andorrà Maybe I should have tagged you in this so you can see it. I do appreciate the help!

            1 Reply Last reply Reply Quote 0
            • S
              sktsec @kelly.morgan last edited by sktsec

              @kelly-morgan
              The big number is EMTPY_VALUE. That means you get no value at all. In other words, the object has no value at all, or you haven't got it .

              This happens very often if you use customize indicator. That's also why there are a lot of questions regarding customize indicator

              In many cases, you need to get the value again and again until you get what you want

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

                Exactly.

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

                Online Users

                F
                A
                H
                A
                S
                M

                17
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors