fxDreema

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

    Set Current Timeframe For Next Blocks Not Working

    Bug Reports
    2
    3
    168
    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.
    • O
      oseiwe last edited by

      It's taken me hours of troubleshooting to realise that the "Set Current Timeframe..." block does not work properly. In the below link, I have added two "Draw Line" blocks - both drawing trend lines. However one derives (or is supposed to derive) its timeframe from the "Set Timeframe..." block, while the other has it manually set to "H1".

      If you run the EA on a 1min chart, you will notice that the two lines drawn are different. The manually set one is correct while the other isn't.

      https://fxdreema.com/shared/hxZsOkC7b

      roar 1 Reply Last reply Reply Quote 1
      • roar
        roar @oseiwe last edited by

        @oseiwe good find.
        To put it more precisely, the "Time" selection by "Candle time" does not follow the "Set Current Timeframe" block.

        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

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

          @roar Precisely. I think what's happening is that it only works on fields named "Timeframe" and nothing else. So even fields named "Candle Timeframe" will not work.

          One could argue that it is working according to specification 😆

          587610f6-bc59-4b39-b925-b5562843392a-image.png

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

          Online Users

          K
          F
          E
          T
          S
          A
          I
          A
          E
          S

          19
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors