fxDreema

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

    Another question for real programmers.

    Questions & Answers
    3
    10
    3030
    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.
    • l'andorrà
      l'andorrà last edited by

      Dear real programmers,
      I know there is a way to create a custom code block so that these input parameters:

      0_1572982109952_00.png

      Can be selectable as constants on fxDreema. I've spent a few hours looking for an old thread by miro a long time ago explaining something like that but to no avail 😞

      Could someone please tell me how can I choose them all?

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

      A roar 2 Replies Last reply Reply Quote 1
      • A
        abubakar @l'andorrà last edited by

        @l-andorrà
        adding enum block will solve this issue

        extern ENUM_MA_METHOD ma = MODE_SMA;
        extern ENUM_APPLIED_PRICE maP=PRICE_CLOSE;

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

          @l-andorrà Lets work through this:
          Ma method and Applied price seems to be something else than just numbers, like those MA period and MA shift are. From this we can deduce that the constant's datatype needs to be something else than double, because double is the type for simple decimal numbers.
          0_1572989595561_90befe17-7ee6-4d17-97b1-9b659a6a9af6-image.png So, where to find the correct datatype?

          This default ma indicator has its own page in mql4 documentary, lets google it: https://docs.mql4.com/indicators/ima

          Here's the datatypes!
          0_1572989122389_6a57d500-769c-414a-b594-d046376ec701-image.png

          Now, what can we use as the constant value? Just click that mql4 article. We can use these values!
          0_1572989211644_50f81af7-8798-45db-b6d8-e0b475585d32-image.png

          Now just create the constants and right-click them into place:
          0_1572989285451_10a65f68-0a5d-4cf5-b525-f9975a28d8e8-image.png

          Hope this helps (and hope I didn't make any mistake lol).
          You can generalize this method to other indicators, time frames and everything

          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 0
          • l'andorrà
            l'andorrà last edited by

            Thank you very much abubakr and roar. 😉
            I'll try it!

            (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
            • l'andorrà
              l'andorrà last edited by l'andorrà

              Just another question. How can I change the MA method from one to another? I can see every MA method has a different value number, from 0 to 3. Can I use them instead of that 'MODE_SMMA' text? Same for all other input parameters.

              Additionally, I tried to do that with the BB indicator and I can't find the ENUM type variable for line mode:

              https://docs.mql4.com/indicators/ibands

              I tried ENUM_MODE, but I got a lot of compiling errors.

              Any hint?

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

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

                @l-andorrà
                Yes, you can use the numbers as well.
                I don't know the proper ENUM type for indicator lines, but you can use simple "int" datatype and integer values:
                0_1573035381492_b04e8076-0b3c-4bde-bb14-cf0c5a054cb4-image.png

                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 0
                • l'andorrà
                  l'andorrà last edited by

                  Ok. Thank you once more ;).

                  (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
                  • l'andorrà
                    l'andorrà last edited by

                    I retake this old thread because I would appreciate some help to find where in this page
                    could I find the same for a true/false display menu:

                    https://docs.mql4.com/indicators

                    It is not related to any particular indicator. I'm looking for a general boolean Constant. I want to see the nice display options as an input parameter.

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

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

                      @l-andorrà Just use bool type in the constant
                      https://docs.mql4.com/basis/types/integer/boolconst
                      0_1585149950650_2957c313-3a63-41e2-819f-26c64e24beaf-image.png
                      0_1585149972807_b40cf88b-5a73-4954-bcae-b5a6104001a2-image.png

                      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 0
                      • l'andorrà
                        l'andorrà last edited by

                        Great! Thank you. 😉

                        (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

                        E
                        B
                        P
                        S
                        S

                        15
                        Online

                        146.6k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors