fxDreema

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

    mixing loop and counters for group of trades

    Questions & Answers
    0
    4
    325
    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.
    • K
      khansari last edited by

      hello . please guide me
      when the buy trades are open and the price goes up (X pip from first buy position) i want EA run sell pending orders. and each pending order has TP that is x pips bigger than previous order . so if price goes up again (2*X pips from first buy position) i want EA run sell pending orders and their TP have the same condition from previous group. and for 3rd group also same ......
      How can I repeat this condition for a specified number of times?
      please show me on example in my project that i share here
      https://fxdreema.com/shared/4jf7J9rcb

      1 Reply Last reply Reply Quote 0
      • K
        khansari last edited by

        please help me

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

          @khansari Strip this down to 2 simple conditions,

          1. place trade (as you have)
          2. Use the pips away (as you have) You don't need the or block.

          Use another group for your pips away trade, when you place new pending you can use the in loop option to get exststing value, Adjust this to whatever you need.

          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
          • K
            khansari last edited by

            hello Mr. can you show me how to do this in my shared project link?

            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

            27
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors