fxDreema

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

    How to do constant for time frame?

    Questions & Answers
    2
    10
    692
    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.
    • G
      GTOAT777 last edited by

      0_1649886666900_AB3704D0-91BA-4C2E-A51D-1E3B26A340FD.jpeg

      Would the constant be a double, string or int?

      Also when inputting the constant in mt4 do I just write the number or write M/H with it, for example if I wanted it on the 15 minute chart would I just write 15 or M15 and same question for H4 would it be H4 or 240?

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @GTOAT777 last edited by

        @gtoat777 in the type of constant write ENUM_TIMEFRAMES

        0_1649921546232_sgabello1.PNG

        you can also find more on the forum typing Enumeration

        G 1 Reply Last reply Reply Quote 1
        • G
          GTOAT777 @ambrogio last edited by

          @ambrogio Thank you I appreciate that

          A 1 Reply Last reply Reply Quote 0
          • A
            ambrogio @GTOAT777 last edited by

            @gtoat777 don't mention it !

            G 1 Reply Last reply Reply Quote 0
            • G
              GTOAT777 @ambrogio last edited by

              @ambrogio The other part of the question i asked how do i write it in MT4
              M15 or just 15

              A 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @GTOAT777 last edited by

                @gtoat777 You don't have to write anything. The drop-down menu will appear. Try it!

                G 1 Reply Last reply Reply Quote 0
                • G
                  GTOAT777 @ambrogio last edited by

                  @ambrogio On MT4?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    ambrogio @GTOAT777 last edited by ambrogio

                    @gtoat777 Yes, this is what you will see on MT4 if you make the example I showed you above:

                    0_1649946512318_sgabello1.PNG

                    G 1 Reply Last reply Reply Quote 1
                    • G
                      GTOAT777 @ambrogio last edited by

                      @ambrogio ah you legend, I appreciate that

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        ambrogio @GTOAT777 last edited by

                        @gtoat777 you're welcome

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

                        Online Users

                        R
                        F
                        S
                        D
                        V

                        17
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors