fxDreema

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

    RSI condition to close trade

    Questions & Answers
    4
    14
    920
    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.
    • W
      William 1 last edited by

      Hello Dreemas

      I cant figure it out so please help me. The idea is very simple. The Rsi value need to reach 90 or higher first. after that if the value dorps to 70 or lower its close the trade

      0_1644358603501_8d7a5c75-6862-4fa3-aa66-73829d2bd6d7-image.png

      I tried this way but i doesnt seems very logic
      0_1644358524816_102023db-0789-4c9f-8680-d9d5bd0a5ebb-image.png

      thank you in advance

      TipsyWisdom jstap 2 Replies Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom @William 1 last edited by

        @william-1 said in RSI condition to close trade:

        Hello Dreemas

        I cant figure it out so please help me. The idea is very simple. The Rsi value need to reach 90 or higher first. after that if the value dorps to 70 or lower its close the trade

        0_1644358603501_8d7a5c75-6862-4fa3-aa66-73829d2bd6d7-image.png

        I tried this way but i doesnt seems very logic
        0_1644358524816_102023db-0789-4c9f-8680-d9d5bd0a5ebb-image.png

        thank you in advance

        Logically all youve done said, ok...RSI X> 20, once it does that, it checks for RSI X<70, then it closes trades.
        Will you open a trade? How often do you want to be able to open one?

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

          @william-1 Use a flag under your conditions, so when RSI X> 90 the flag is set to true, then when RSI X< 70 set flag back to false. above the close block check if flag = true so when RSI X< 70 trades are closed.

          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! 😊

          W 1 Reply Last reply Reply Quote 1
          • W
            William 1 @TipsyWisdom last edited by

            @tipsywisdom its use when its trade

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

              @jstap thank for the tip for using flags

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

                @william-1 Your welcome, if you want this in a comment so you can see what's happening use a bool variable.

                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! 😊

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

                  @jstap I tried using flag but it wont trade. cloud you please look at it what i do wrong?

                  0_1644788677030_a86952cd-018a-4b64-b1ac-49ae77744a7a-image.png

                  Y jstap 2 Replies Last reply Reply Quote 0
                  • Y
                    Youngtreptrader @William 1 last edited by

                    @william-1 what time frame are you gonna use aand run on? because you can also do a sequence of conditions for each candle ID. thats how i create divergence conditions

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

                      @william-1 Put a shared link here so what is happening can be assessed.

                      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! 😊

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

                        @jstap thank you for taking time. My project is this: https://fxdreema.com/shared/yLTmWs3Yc

                        jstap 1 Reply Last reply Reply Quote 0
                        • W
                          William 1 @Youngtreptrader last edited by

                          @youngtreptrader. I do not understand it. Could you show a example what you mean?

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

                            @william-1 This https://fxdreema.com/shared/miLtEu1Td should show you how to connect blocks to do things you need, is using a variable so you can see what is happening in a comment.

                            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! 😊

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

                              @jstap Im kinda confuse cause I though I should use flag and the comment doesnt say much. Could you explain in words? ( im a noob)

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

                                @william-1 The bool variable is doing the same as flags but, it allows the result to be viewed in a comment. It just allows you to see if things are working as expected.

                                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
                                P
                                T
                                B
                                G
                                J
                                F
                                G
                                O
                                Z
                                M
                                W

                                28
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors