fxDreema

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

    Break-Even

    Questions & Answers
    0
    4
    296
    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.
    • J
      JFerreira last edited by

      Hi all,

      First of all, sorry if this issue was already discussed here, but since the forum Search is not working, i cant' find it.

      I need some help of how can i do this break-even strategy.

      I'm writing an EA that can place multiple types of orders (at different times), meaning, i can have 2 or more Buys (or Sells) at the same time.

      Let's suppose this situation:

      https://ibb.co/98zn2Nb

      How can i change the Break-Even for each trade once the price reaches a specific indicator line?
      When Buy 1 reaches the indicator line, SL goes to BE (only the Buy 1)
      When Buy 2 reaches the indicator line, SL goes to BE (only the Buy 2)
      When Buy 3 reaches the indicator line, SL goes to BE (only the Buy 3)

      Thank you in advance

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

        @jferreira Use group number to place trade, chec and move sl by the group number.

        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
        • J
          JFerreira last edited by

          @jstap said in Break-Even:

          group number

          But that way, how can i differentiate between multiple buys and sells?
          Are you referring to this?

          0_1672651560771_08cb46f4-c7c6-4bdd-bb57-a917cbe283ab-image.png

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

            @jferreira Yes so if every trade is placed by a different group number, you can then use this to control trade, you can control multiple trades by using commers like 0,1,2,56,69 etc

            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 1
            • 1 / 1
            • First post
              Last post

            Online Users

            H
            G

            11
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors