fxDreema

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

    Timeframe as variable/ Timeframe as input

    Questions & Answers
    2
    3
    1670
    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.
    • umbrellamaker
      umbrellamaker last edited by

      Hey peeps,

      is it possible to have the timeframe as an input aka variable in a condition block?

      I tried several things as using "enum_timeframes" where normally "double" or "string" stays.

      It would be great for being able to change several timeframes in several blocks with just one click.

      Appreciate your suggestions!

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

        @umbrellamaker there's a block "change timeframe for next blocks", that should work.

        The enum_timeframes thing should also work... https://docs.mql4.com/constants/chartconstants/enum_timeframes

        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

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

          Gold. Thanks @roar !!

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

          Online Users

          R
          A
          D
          A
          E
          N
          N

          35
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors