fxDreema

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

    Button Click Open New Chart

    Questions & Answers
    5
    14
    394
    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.
    • M
      Mani13 last edited by

      Hi,
      I have a question to experts that can we create button to open a new chart, like a market watch of selected pairs ?
      So if click on dashboard let's say EURUSD it open EURUSD chart.

      I don't either it is possible on fxdreema or not.

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

        I would say it is not possible with fxDreema alone. Probably you will need some custom code.

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

          I saw something the other week from @roar about doing this, it was with custom code but I am unsure how.

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

            Basically you can just use the ChartOpen function: https://www.mql5.com/en/docs/chart_operations/chartopen

            https://fxdreema.com/shared/h3f6nEY3

            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

            1 Reply Last reply Reply Quote 1
            • V
              Vaylin last edited by

              Hi, can someone please help with the custom code for MT4 to open a chart?

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

                It is in roars post, what are you struggling with?

                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
                • V
                  Vaylin last edited by

                  Hi, I checked the @roar link but didn't see any reference to it. This is the MQL5 example in the original post, but I'm for this in MQL4:
                  image.png

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

                    Is more a less the same add this to a custom code block with a block above to activate:
                    ChartOpen(NULL,15);

                    Change NULL to the chart you want to open like "GBPUSD", NULL = current chart
                    change 15 to the minutes of the chart you want to open, 1, 5, 15, 30, 60, 240, 1440, 10080, 43200

                    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 1
                    • V
                      Vaylin last edited by

                      Hi, thank you. Do I just put a "Mouse clicked on object" block above the custom MQL4 code block you gave above? I'm trying to add the open chart button to the array in the tutorial, but am struggling with getting it to link with pairs in the array. I'm new to FXdreema so I don't quite understand what to put where (incl what should go on chart, on init, on timer etc for this button to work), but I am learning.

                      Would you be able to give me an example of how to do this (link the button to the array) in the tutorial project file link below?

                      If you could help me here it would be greatly appreciated.

                      https://fxdreema.com/forum/uploads/files/1488659045285-tutorial_arrays.mq4

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

                        Add a shared link not the MQ file, mouse clicked on chart only works on chart, so live/demo charts not backtest

                        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
                        • V
                          Vaylin last edited by

                          Hi, thanks for the reply.

                          shared/BcA4wMSac

                          I can make a button manually and was able to link a constant to the pair name to open a chart for the specific row, but will have to place a manual button set of blocks for each row. Please can you help with linking it to the array so I don't need to create a separate set of blocks for each row.

                          Thank you in advance

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

                            You have many things on many tabs which ones are not working?

                            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
                            • V
                              Vaylin last edited by

                              Everything in the project works, except the blocks in Area #9 under the "On Chart" section. The blocks in Area 10 under the "On Chart" works to create one button linked to the "instr0" constant which is a definable currency pair used in the array for the first line of the array. This set of blocks also appears under the "On Timer" section as the only way I could get the button to work is to have the same block set on both sections. I can accomplish what I want by having n-times these block sets but that is cumbersome and many blocks.

                              The blocks in Area#9 are blocks I copied from other suggestions but most of them are MQL5, and I have no idea how to compile and link a set to be part of the array.

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

                                These blocks are not connected?

                                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

                                L
                                K
                                H
                                N

                                15
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors