fxDreema

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

    enum . add indicator . my indicator

    Questions & Answers
    3
    16
    597
    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.
    • S
      sajadhmz.vp.phd last edited by

      Hello to everyone .
      I want to add a “ .ex4 “ indicator .
      I have find a lot of inputs which type is “ int “ but they have a list of written conditions in front of them .
      Is there any way to add this indicator to site ???
      If it is please help me .
      Thank you .
      Cumulative Delta MT4.ex4
      image_2025-01-20_18-14-07.png

      1 Reply Last reply Reply Quote 1
      • S
        sktsec last edited by

        Try 0, 1, 2, ...

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

          When you export the EX file copy all the inputs as they are written in the exact order they are in although 123 is a number it is actually a enum in cases like this

          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! 😊

          S 1 Reply Last reply Reply Quote 1
          • S
            sajadhmz.vp.phd @jstap last edited by

            @jstap Excuse me sir I don’t know any thing about “ enum “ .
            Coud you please completely show me just the first row structure .
            I mean some thing like this :

            1 - Data type : ……………………….

            2 – name : …………………………….

            3 – default value : ……………………..

            Please fill this parts for first row of indicator . I realy appreciate you .
            Thank you so much .

            1 Reply Last reply Reply Quote 0
            • S
              sajadhmz.vp.phd last edited by

              Excuse me sir I don’t know any thing about “ enum “ .
              Coud you please completely show me just the first row structure .
              I mean some thing like this :

              1 - Data type : ……………………….

              2 – name : …………………………….

              3 – default value : ……………………..

              Please fill this parts for first row of indicator . I realy appreciate you .
              Thank you so much .

              S 1 Reply Last reply Reply Quote 0
              • S
                sktsec @sajadhmz.vp.phd last edited by sktsec

                @sajadhmz-vp-phd

                Date type: {a,b,c,d}
                Name: defined by you
                Default value: none. A variable has default value, not data type

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

                  enum - HistoryLoadMode - In Days
                  datetime - HistoryStartTime - (can't see this value)
                  int - HistoryMonths - 0 (can't see this value)

                  This is the first 3, the rest are something similar (the last one is a bool type)

                  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
                  • S
                    sajadhmz.vp.phd last edited by

                    image.png

                    Hello again .
                    i have fill some blocks .
                    they are true ????
                    continue like this ???
                    i must also fill the alert parts ???

                    1 Reply Last reply Reply Quote 0
                    • S
                      sajadhmz.vp.phd last edited by

                      image.png

                      here is the main and original settings .

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

                        What do you mean by alert parts? This looks correct; just ensure spelling, type, and value are correct for all inputs. You will probably need to add buffers. Look in your platform's date window and see how many the indicator has.

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

                          Thinking about it you will need to add the enum names and values to the Enumerations section at the top, you will need to write the enum type, which will be similar to this picture: ( sorry for forgetting you would need to know the name of the enum)

                          image.png

                          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! 😊

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            sajadhmz.vp.phd @jstap last edited by

                            @jstap thank you so much .
                            but unfortunately i dont have this knowledge .
                            forgot that indicator .
                            i added another one in " mq4 " mode .
                            but this one also dont work in enum part .
                            i completly confused . whats wrong with " mq4 " they fill input parameters automatically .
                            please help me .

                            photo_2025-01-21_11-34-30.jpg

                            Please write the correct structure for me .

                            1 Reply Last reply Reply Quote 0
                            • S
                              sajadhmz.vp.phd last edited by

                              image.png

                              i have write this parameters exactly like your picture . but it isnt work again .

                              Donchian Channel.mq4

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

                                An indicator added by MQ will already have this added, so you do not need to do anything

                                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
                                • S
                                  sajadhmz.vp.phd last edited by

                                  yes sir . you are right .
                                  the indicator work well and correct in meta trader . but when i add it to site as it is and make an EA i see a lot of error in compile .

                                  image.png

                                  image.png
                                  because of this errors i thought there is some problems with enum or anything else .

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

                                    MODE-MA is a predefined meta trader enum. Does the project creating these errors have any more in it than the indicator? pass block - a block using this indicator

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

                                    Online Users

                                    S
                                    A
                                    R
                                    B
                                    N
                                    M
                                    A
                                    T
                                    V
                                    M
                                    A
                                    A
                                    R

                                    24
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors