fxDreema

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

    Ident current timeframe (MT5)

    Questions & Answers
    2
    2
    20
    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.
    • M
      MT4Nutzer last edited by

      Hello community,

      does anybody know a way to ident the current timeframe (for MT5) to put it into a variable?
      I need the current timeframe in seconds (or minutes) as a variable. It works well for MT4 (market properties/timeframe) but in mql5 it only works for timeframes <H1. In H1 timeframe I get an output of "16385".
      Does anybody know an other reliable way to do this?

      Thanks in forward and have a good day!

      Tommi

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

        Created this a long time ago, but this should do it: https://fxdreema.com/shared/LpSPypV5

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

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

        Online Users

        V

        8
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors