fxDreema

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

    Simple break even EA

    Questions & Answers
    3
    5
    402
    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.
    • E
      esteban_d last edited by

      Hello. I am trying to develop a simple EA that moves my SL to BE once I reach a profit level, but despite the EA's ease, I am not able to make it work for me. The procedure would be the following:

      • First, I would open a transaction manually, also manually indicating its SL and TP.
      • I would drag an EA onto the chart that simply moves my SL level to BE once I have reached a profit level equal to the risk I have taken (SL size).
      • End.

      As I mentioned before, despite the simplicity of what I'm looking for and building the EAs apparently well, I can't get them to work. Below is an image with an example of what I think would be the simplest and at the same time well done, but it has not worked for me. I have also tried replacing the "pass" block with "for each trade", with "if position" and with "no trade is running" (in this case using its negative output). None of that has gone well, so I assume it's some silly detail I'm overlooking, but I can't figure it out. Can somebody help me? Thank you so much.

      f4636469-a681-42b6-a4f7-e19ac5da19b5-image.png

      U 1 Reply Last reply Reply Quote 0
      • U
        Uriel 0 @esteban_d last edited by

        @esteban_d try again with the "for each trade" or "if trade" above the BE block but defining the group (manually and automatic) of each block

        E 2 Replies Last reply Reply Quote 0
        • E
          esteban_d @Uriel 0 last edited by

          @Uriel-0 I'm going to try it, I'll tell you, thanks

          1 Reply Last reply Reply Quote 0
          • E
            esteban_d @Uriel 0 last edited by

            @Uriel-0 said in Simple break even EA:

            @esteban_d try again with the "for each trade" or "if trade" above the BE block but defining the group (manually and automatic) of each block

            it worked! I specified "manually" in both blocks, that was it. Thank you so much

            1 Reply Last reply Reply Quote 0
            • G
              GTOAT777 last edited by

              Mark this topic as solved

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Online Users

              E
              N
              N
              F
              M
              A
              L
              O
              S

              31
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors