fxDreema

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

    Set "Current Timeframe" for next blocks in mq5

    Bug Reports
    2
    4
    1065
    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.
    • T
      Trader3487 last edited by

      the "Set "Current Timeframe" for next blocks" block does not seem to work in mq5 on the D1 timeframe.
      Also, if you set the block to the same timeframe as the test (ex. H4), it displays different results than hardcoding the timeframe.

      for example if you run this test on the H4 timeframe it draws the vertical line differently when the timeframe block is connected vs. when it is not connected: http://fxdreema.com/shared/nOYdDaEZd

      with tf block.png

      without tf block.png

      ......
      with tf block.png
      without tf block.png

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

        You are right, there is something wrong in this parameter - instead of H4, H6 is taken. I fixed that, thank you for this report.

        1 Reply Last reply Reply Quote 0
        • T
          Trader3487 last edited by

          great, thank you. When will the update be available in the desktop version?

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

            Now I'm preparing few new blocks to work with the chart, I guess very soon.
            What I can suggest is to check in the source code what is the timeframe that is selected, it should work. The problem is that names are shifted with one step, so H4 is actually H6, H6 is H8 and so on. When the fix comes it will not need any intervention, you can actually see on the project you posted that it now shows H6 🙂

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

            Online Users

            X
            J
            A
            N
            S
            E
            A
            M
            T
            M

            18
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors