fxDreema

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

    Compare two values and return the higher of the two

    Questions & Answers
    2
    4
    396
    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.
    • R
      rocketavocado last edited by rocketavocado

      I am trying to take the 24 hour high between 10am yesterday and 10am today.

      I approached this by creating two variables, one for yesterday and one for today.

      But I don't know how to compare and take the higher of these two values.

      Any help is appreciated, thanks!

      0_1633062878424_4123123.png

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

        @rocketavocado You do it like this.

        0_1633086197177_e1aa6c3f-d013-48b8-a315-f8292441fc5b-image.png

        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
        • R
          rocketavocado last edited by

          Thank you so much @jstap, that was just what I needed!

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

            @rocketavocado Your welcome

            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

            E
            R
            S
            A
            B
            N
            M
            A
            T
            V
            M
            A

            25
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors