fxDreema

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

    Move SL to BE on TP2 once TP1 hit

    Questions & Answers
    2
    4
    382
    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
      Jim67 last edited by

      Hi All,
      I have been trying to make a simple EA that will manage existing two positions with same SL but different targets (TP1 & TP2).

      So I open trades with different targets TP1 and TP2 but same entry and SL on each.
      Then add EA to chart.
      Once TP1 is hit, I want the remaining trade SL to be moved to BE.
      See example project that does not work:
      https://fxdreema.com/shared/3Q0qgbwI

      What am I doing wrong?
      Any suggestions very welcomed.
      Many thanks,
      Jim

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

        @jim67 For a start if you want this to work on manual trades you need to set group to all, you don't need the pass above pink blocks, how are your SL's set? If set by pips you could use this in the pips away block, when a trade is closed you can use the purple trade closed by blocks connected to a buy or sell block on the on trade tab.

        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
          Jim67 last edited by Jim67

          Hey @jstap,
          Many thanks for your informed reply.
          Just using Position Closed and BE on Trade tab with All trades selected works fine. So simple.
          Thanks again for your help, you're a champion.
          Cheers mate,
          Jim

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

            @jim67 Your welcome.

            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

            L
            S
            A
            F

            18
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors