fxDreema

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

    EA keeps on taking trade as far RSI is above your condition even when the first trade is over or has hit stop loss

    Bug Reports
    3
    7
    395
    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.
    • P
      princeomughele last edited by

      Please can this bug of trades still being taken continually even when take profit or stop loss has been hit just because the RSI is above a certain line you condition it to take trade at when above or below such line mean while you only meant it should pick trade once when above or below such line and not pick any other trade again till price recorrects..

      For example I place a condition telling my Robot to place a buy trade when RSI line is above or greater than > 25
      I expect the robot not to place any other buy that after such condition has been met and it has placed a buy trade once which hits take profit or stop loss.

      It is not supposed to place any other buy trade again until price goes below line 25 and comes up again above it. It should only place such buy trade only once and not place again after stop loss or tp has hit until the RSI line goes below line 25 and come up above it again before it places another each time such happens.. I think if the == operation where to be working it could have been the best alternative to this.

      Please can such bug be quickly corrected or worked on?

      1 Reply Last reply Reply Quote 0
      • A
        ambrogio last edited by

        i don't think it's a bug. Can you share the link to your project?

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

          It's not a bug, your logic needs to prevent this happening

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

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

            Ok please what logic do I need to add to prevent this from happening?

            1 Reply Last reply Reply Quote 0
            • P
              princeomughele @ambrogio last edited by

              Is just a simple tree

                      onTick
                                              
              
                                            No Trade
              

              Indicator RSI. Value > 40
              that's greater than 40

              Then Buy Condition here

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

                then what logic do I add to it to prevent this from hapening can you help me out?

                this is the simple condition

                Is just a simple tree

                        onTick
                                                
                
                                              No Trade
                

                Indicator RSI. Value > 40
                that's greater than 40

                Then Buy Condition here

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

                  If a trade has been placed, you will need to prevent one from happening again, like, for example, a once per bar block. There are many options to choose from, your reason for preventing a new trade is your setup specific.

                  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

                  A
                  A
                  E
                  B
                  M
                  J
                  B

                  19
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors