fxDreema

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

    Highest Value of RSI

    Questions & Answers
    6
    10
    776
    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
      marvinm last edited by

      Hi Pros!.

      I wanted to get the Highest Value of RSI from Candle 20 to Candle 1. What block should I use?

      Appreciate your assistance.

      Thank you.

      Regards,

      Marvin

      Marvin

      1 Reply Last reply Reply Quote 0
      • M
        marvinm last edited by

        Basically, I want to compare the value of of RSI of Candle 1 versus the highest value of Candles 2-20, then do something.

        Thanks again.

        Cheers

        Marvin

        roar B 2 Replies Last reply Reply Quote 0
        • roar
          roar @marvinm last edited by

          @marvinm this loop saves the highest value in variable "highest"
          https://fxdreema.com/shared/3Kmz0vlxb

          0_1673100515897_966a9a0f-bd36-48cf-840c-8dec17714b64-image.png

          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 1
          • M
            marvinm last edited by

            @roar thank you so much

            Marvin

            1 Reply Last reply Reply Quote 0
            • M
              marvinm last edited by

              @roar, how can i put in a condition that iif RSI(1) > RSI(2-20) , "buy"

              Marvin

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

                @marvinm In a condition block, candle 1 rsi > highest variable->buy

                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
                • B
                  BravoOne @marvinm last edited by

                  @roar Would it be possible to get the candle ID of the highest RSI value using this loop?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sktsec @BravoOne last edited by

                    @BravoOne
                    Try add a Condition Block below:
                    Check if the current RSI value == found maximum value (val). Also in the variable list of this block, if condition was true: save the value of the id variable (id) to another variable, say, max_id.

                    1 Reply Last reply Reply Quote 0
                    • B
                      BravoOne last edited by

                      How do I save the value of the ID to another variable?

                      1 Reply Last reply Reply Quote 0
                      • P
                        pgqu23 last edited by

                        thank you..

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

                        Online Users

                        A
                        A
                        E
                        B
                        M
                        J
                        B

                        21
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors