fxDreema

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

    Transfering EA Panel from mq4 to mq5

    Questions & Answers
    4
    11
    2116
    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.
    • O
      oliverhinrichs last edited by

      Hi!

      I made an expert adviser for the mt4.
      There I made a input panel to adjust ordervalues and everything works.

      0_1616800116730_mq4 panel.PNG

      After copy and paste the panel to mq5 the values changed from numbers to numbers.0 (Example from 20 to 20.0)
      0_1616800396848_mq5 panel.PNG
      and if I want to change the values the field shows nothing and my adviser don´t recognize the new values.
      It looks like that at stoploss :
      0_1616800514649_mq5 panel2.PNG

      As i have done it at mq4 I placed the field at the on init section with a startvalue in specific properties, gave it the same name as my variable.
      0_1616800916123_mq5 panel3.PNG
      In tick section it looks like that :
      0_1616801220880_mq5 panel4.PNG

      As I said....it works at mq4 but not at mq5.

      Does anyone have a solution ?

      1. I think the change of the field startvalues from a number like 10 to 10.0 could be the definition as a numeric value.
        If I would change this to text code input it should be fixed.....
        Or would this be wrong?

      2. The start values of the drawn fields are successfully transfered into the variable, but every change of the values
        won´t be transfered and the field is empty and don´t show the new value...... all trades use only the start values .
        Maybe the fields don´t have to be placed into the on Init section at mq5 ?

      I hope someone can help to fix this problem.

      By the way.....I think it would be good to make a seperate forum for mq5 to have a better overview an because
      mq4 and mq5 often needs different solutions.

      Thanks
      Oliver from Germany

      l'andorrà Q 2 Replies Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @oliverhinrichs last edited by

        @oliverhinrichs Hi Oliver. I'm afraid I cannot offer you ans answer for your issue because I'm not a programmer. I agree that mq4 and mq5 should be in different forums. Unless someone else can provide a solution, my only suggestions is contacting the admin and letting him know.

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

        O 1 Reply Last reply Reply Quote 0
        • Q
          q8carpenter @oliverhinrichs last edited by

          @oliverhinrichs Hello,

          Try placing "int" instead of "double" in the variables. That may work since integers will not have decimal places. Yes and also make sure to place "int" only on the values that will not require decimal places.

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

            @l-andorrà Thankyou 🙂

            1 Reply Last reply Reply Quote 0
            • O
              oliverhinrichs @q8carpenter last edited by

              @q8carpenter

              Hi Carpenter!

              I changed the variables from double to int and ich changed the input field values from numeric to text code input to get numbers without .0
              but it still don´t work.

              0_1617347900775_1.PNG

              When I click into the input field i can see that the startvalue is highlighted blue and flickers which I think could be the reason that the metatrader 5
              walks thru this field on every tick.
              But when I change the value of the input field the field is empty and the metatrader use only the startvalues.
              0_1617348425597_2.PNG
              I have no idea how to fix this 😕

              1 Reply Last reply Reply Quote 0
              • O
                oliverhinrichs last edited by

                Update!

                I tried my expert on a Demo account and i get the errormessage that my expert tried to place an order with 0 lots.

                So i think the whole think with these input fields seems to be not working on MT5.

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

                  @oliverhinrichs Are you sure your broker cann accept 0.01 lots trades?

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

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

                    @l-andorrà Yes Sir 🙂

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

                      @oliverhinrichs Then my only suggestion is rebuilding it from scratch block to block. 😞 Probably you will spend less time than searching the error.

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

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

                        @l-andorrà

                        Yes 😕

                        I will post it, if i found the Error/Solution...

                        But thankyou for your help 🙂

                        U 1 Reply Last reply Reply Quote 0
                        • U
                          Uriel 0 @oliverhinrichs last edited by

                          @oliverhinrichs could you share the first panel concept? (MT4 project) please

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          Online Users

                          F
                          C
                          A
                          E

                          10
                          Online

                          146.7k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors