fxDreema

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

    how to work with the buttons

    Questions & Answers
    7
    12
    5375
    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.
    • J
      Jennifer last edited by

      hello i am trying to grasp the idea of buttons in chart and object menu i have tried using the button but it always start doing the intended job as soon as its attached to the chart , but what i wanna do is , whenever i click on the button then it should perform the intended task ....
      so if anyone can point me to a tutorial or something like that it would be great

      ===>Jennifer Syn<===

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

        https://fxdreema.com/shared/wMaMALJbd

        The problem with buttons is that they act more like switches, they are either pressed or de-pressed (down or up). They don't automatically move up when you press them and I don't know for an opton to do that.

        khacdiepvnc 1 Reply Last reply Reply Quote 0
        • M
          mwilson4754 last edited by

          Thanks for the help!

          1 Reply Last reply Reply Quote 0
          • C
            CPBonzo last edited by

            When you create the button ensure that under the "adjust" settings the it is set to not pressed. Then under "on tick" or "on chart" depending on the function you want to control, put the select button and check button state blocks. From the orange connector run whatever function you want to happen when the button is pushed. This will continue to run as the button remains pressed - unless - after the functions you add a "Custom MQL4 code" and insert the following:

            ObjectSet(LoadedObjectName(),OBJPROP_STATE,0);

            This will reset the button to off (i.e. 0, when on is 1). You could also use the block to change the button colour when pressed by changing the properties etc.

            I hope that helps.

            Regards

            Colin

            S 1 Reply Last reply Reply Quote 1
            • khacdiepvnc
              khacdiepvnc @fxDreema last edited by

              @fxdreema said in how to work with the buttons:

              https://fxdreema.com/shared/wMaMALJbd

              The problem with buttons is that they act more like switches, they are either pressed or de-pressed (down or up). They don't automatically move up when you press them and I don't know for an opton to do that.

              Hi Ad,
              How to creat 2 buttons?
              I made 2 button, but both 2 button active when I press 1 only
              https://fxdreema.com/shared/lX9JLZeG

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

                @khacdiepvnc I recommend you use 'Filter object by name' option in blocks 847 and 850. Use different names for both.

                (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.

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

                  @l-andorrà yes I see,
                  many thanks

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

                    @khacdiepvnc You're welcome.

                    (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
                      sosel @CPBonzo last edited by sosel

                      @cpbonzo is there an equivalent code for mq5? to do the same, reset the state of the button?

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

                        @sosel Yes, you can use the same blocks for MT5.

                        (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.

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

                          @l-andorrà

                          I was getting an error about the syntax, i went to de documentation for MQL5 and the code is a little bit different, i used this, and is working well:
                          ObjectSetInteger(0,"buy",OBJPROP_STATE,false);

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

                            @sosel Interesting. I'm not a programmer, sorry. Thank you for sharing.

                            (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

                            D
                            V
                            O
                            J
                            B

                            14
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors