fxDreema

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

    How to make Time like 02:00 as a constant input (Double?)

    Questions & Answers
    2
    3
    659
    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.
    • I
      Ibrahamt last edited by

      Hi Guys,

      I tried to make the input in the below picture (02:00) as a constant input but it didn't work. I guess because I selected DOUBLE as a type of the input.

      Is there any other way to define the time as a constant input that I can use in optimization?

      I tried also using this field as an optimization field, but it becomes uneditable in MT4 EA optimization inputs.

      Thanks,

      0_1563817330874_293f5641-1040-46ec-8419-8c458ec7473a-image.png

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @Ibrahamt last edited by

        @ibrahamt
        Working with time is a pain. If it fits your system, it would be much better to count the bars and work from there.

        https://fxdreema.com/forum/search?term=barcount&in=titlesposts

        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

        I 1 Reply Last reply Reply Quote 0
        • I
          Ibrahamt @roar last edited by

          @roar That sounds a better idea. Thanks for your advice roar.

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

          Online Users

          H
          H
          M
          S
          S
          L
          E
          M
          A

          15
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors