fxDreema

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

    How do I point to one instruction for each condition, and when that is repeated, then move on to the next command?

    Questions & Answers
    2
    6
    249
    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.
    • D
      ddvjvn.kmb last edited by

      How do I point to one instruction for each condition, and when that is repeated, then move on to the next command?

      jstap 1 Reply Last reply Reply Quote 0
      • jstap
        jstap @ddvjvn.kmb last edited by

        @ddvjvn-kmb Need more information, put a shared link here.

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

        D 1 Reply Last reply Reply Quote 0
        • D
          ddvjvn.kmb @jstap last edited by

          @jstap i have an example like this where rsi >70 Ea will enter a sell order 0.01 lot . but my EA goes into consecutive sell orders when rsi > 70 , so bad . what i want is that the EA only enters one instruction until the condition rsi > 70 is repeated it will enter the second instruction, so it only enters one instruction every time the condition rsi > 70 is repeated. i know a block is " no trade " which means will only enter a new order when the previous one is closed , that is not what i want , i want it to enter even if the previous order is not closed as long as the condition rsi > 70 is met .

          jstap 1 Reply Last reply Reply Quote 0
          • jstap
            jstap @ddvjvn.kmb last edited by

            @ddvjvn-kmb Create a shared project and say what's not working, a blue no trade block will limit to 1, if you want more than 1 you have to decide the logic processes used, for example every candle if rsi is still below 70 a new trade is placed.

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

            D 1 Reply Last reply Reply Quote 0
            • D
              ddvjvn.kmb @jstap last edited by ddvjvn.kmb

              @jstap
              this is my project , i want it to enter a sell order when rsi >70 , and into the next one when the rsi >70 condition is repeated , even if the previous one has not closed . ( but my ea has entered a sell order continuously as long as rsi >70 , i only want it to enter 1 order , until the condition rsi >70 is repeated will enter the next order , even if the previous one has not closed , so I don't use the " no trade " block because this block only opens a new order when the previous one is closed)
              https://fxdreema.com/shared/KO6F8On9e

              jstap 1 Reply Last reply Reply Quote 0
              • jstap
                jstap @ddvjvn.kmb last edited by

                @ddvjvn-kmb Your logic is floored,> is all the time rsi is above a value, if you use X> and once per bar then you will get a trade once per candle every time the cross happens.

                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
                F
                L
                S
                N
                S
                E
                H
                E
                S
                A
                T

                26
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors