fxDreema

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

    MT5 Time frame is not giving the right figure

    Bug Reports
    2
    4
    258
    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.
    • vish
      vish last edited by

      MT5 Timeframe is not giving the right figure from H1 above

      3261189d-60c0-47cc-bb9f-bea35ad7013c-image.png

      For instance above comment should show 60 on H1 but this is what it shows

      4bd79ea5-dfad-4914-b4a6-92121046339e-image.png

      Project: https://fxdreema.com/shared/24HiE65td

      Any other experiencing this?

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

        This is how MT5 works, you would have to convert to see a more readable format, from CHAT GPT:
        string TimeframeToString(int timeframeValue)
        {
        switch (timeframeValue)
        {
        case 1: return "1 minute";
        case 5: return "5 minutes";
        case 15: return "15 minutes";
        case 30: return "30 minutes";
        case 60: return "1 hour";
        case 240: return "4 hours";
        case 1440: return "1 day";
        case 10080: return "1 week";
        case 43200: return "1 month";
        default: return "Unknown timeframe";
        }
        }

        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 0
        • vish
          vish last edited by vish

          Is what I have done wrong? Shouldn't I get 60 printed if I load the EA on H1 chart? I guess it's a bug.

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

            No, because MT5 is different to MT4, it works the same, you just can't manually read it the same

            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 0
            • 1 / 1
            • First post
              Last post

            Online Users

            N
            S
            E
            S
            K
            S
            G

            24
            Online

            146.6k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors